This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
It is the responsibility of client author to provide code completion item colors and so this issue may not be directly related to code completion infrastructure but practise used in default implementation (GsfCompletionItem) and many other CompletionItem implementations result in hard to read colors. Please see: - http://hg.netbeans.org/main/file/26a46bf0558d/csl.api/src/org/netbeans/modules/csl/editor/completion/GsfCompletionItem.java#l675 - http://hg.netbeans.org/main/file/26a46bf0558d/db.sql.editor/src/org/netbeans/modules/db/sql/editor/completion/SQLCompletionItem.java#l68 General practise seems to be using LFCustoms.shiftColor() which tries to return brighter or darker color depending on the LAF. This approach does not seem to produce readable colors especially for dark LAFs. Please see: https://github.com/Revivius/nb-darcula/issues/26 https://github.com/Revivius/nb-darcula/issues/67 I would like to to suggest using UIManager keys to lookup colors for completion item colors (as done for various places) and fallback to current practise of using LFCustoms if desired key is not available.
Added 'fix-in-82' in status whiteboard.
Hello, Taking advantage, take a look at: http://hg.netbeans.org/main/file/26a46bf0558d/web.core.syntax/src/org/netbeans/modules/web/core/syntax/completion/api/JspCompletionItem.java#l97 http://hg.netbeans.org/main/file/26a46bf0558d/html.editor/src/org/netbeans/modules/html/editor/api/completion/HtmlCompletionItem.java#l444
Was it fixed in 8.2 ?
It doesn't seems so, any news here?