Community
Participate
Working Groups
With Bug 52067 the matching bracket color has been improved. IMHO it is still hard to see. I suggest to make the border a bit thicker (1-2 pixel) to increase its visibility.
Out of the box I'd say -1, but I'd be willing to look at it once it is implemented.
Why not solid background instead of a frame (of whatever thickness)? Is it because we cannot find a color that works in all situations (incl like highlighting)?
(In reply to Stephan Herrmann from comment #2) > Why not solid background instead of a frame (of whatever thickness)? > Is it because we cannot find a color that works in all situations (incl like > highlighting)? +1 for solid color
(In reply to Stephan Herrmann from comment #2) > Why not solid background instead of a frame (of whatever thickness)? > Is it because we cannot find a color that works in all situations (incl like > highlighting)? significant typo, should be: "incl. line highlighting".
It is because the current API org.eclipse.ui.texteditor.SourceViewerDecorationSupport.setMatchingCharacterPainterPreferenceKeys(String enableKey, String colorKey, String highlightCharacterAtCaretLocationKey, String enclosingPeerCharactersKey) does not provide a way to specify the highlighting style. The solution here would be to contribute the matching brackets highlight as an annotation type in Text Editors > Annotations preferences.
(In reply to Stephan Herrmann from comment #2) > Why not solid background instead of a frame (of whatever thickness)? > Is it because we cannot find a color that works in all situations (incl like > highlighting)? Like using red color I find marking it via background is too intrusive. Also, it can collide with other background highlighting like current line, search results, current instructions pointer, etc. As outlined in comment 5, changing the API to use an annotation and allow the user configure it would be a solution, but not something the JDT team has time to do.