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.

Bug 156516 - difficult to discover controls for mustard color of Mark Occurrences feature
Summary: difficult to discover controls for mustard color of Mark Occurrences feature
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Options (show other bugs)
Version: 6.x
Hardware: All Mac OS X
: P3 blocker with 1 vote (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks: 156580
  Show dependency tree
 
Reported: 2009-01-09 08:38 UTC by jrose
Modified: 2016-07-07 07:30 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jrose 2009-01-09 08:38:17 UTC
Although I find Mark Occurrences useful, the mustard yellow I get by default is so distracting that I had to turn it off.

So I went to Options / Fonts & Colors and looked for a way to tone down the effect.  Apparently this one is missing, since (presumably) it is not part of the 
main syntax coloring logic.  Please put in the color adjust option!  Otherwise the Mark Occurrences feature might as well be broken.
Comment 1 Jiri Prox 2009-01-12 12:44:16 UTC
The mark occurrence is language specific so you have to select correct language in fonts&colors panel.
Comment 2 jrose 2009-01-12 19:42:45 UTC
Thanks for the tip; now it works for me too, and I am now enjoying the use of the feature with a muted variant of .  Despite three serious tries, I could 
not find my way through the Options UI to this point.  So I'm re-opening this as a bug in discoverability.

There are three reasons I had trouble finding this control.

1. Under the All Languages pull-down, there are categories for identifier, string, method, comment, and many other settings which are language-
dependent in their details.  Mark Occurrences is "thing under caret".  That is no more language-specific than identifier or string or method, so users will 
expect to see Mark Occurrences along with the others.  Alternatively, since it is a sort of automatic search, put the configuration under Fonts & Colors 
=> Highlighting, as a sibling of Highlight Search.  (That was the first place I looked, actually.)

2. Even when the pull-down is set to All Languages, the preview pane gives a Java example (at least to me).  This misled me to think that I was already 
controlling markup for Java.  Yes, now that I understand the pull-down better I won't make that mistake again.  But the GUI led me to believe that I was 
controlling Java _and_ all languages.

3. On the Editor => Mark Occurrences pane, the language pull-down is a no-op:  The only option (in my setup) is Java, and at least first check-box 
appears to be language-independent.  (The subsidiary check-boxes appear to be Java-dependent.)  Therefore, Mark Occurrences is presented to me as a 
language-independent feature, with language dependent parts.  This does not help me understand that the config. for Mark Occurrences must be 
sought under a Java-specific dialogue.

So, it's still a problem.  Here are two suggested fixes:

A. (Simplest.)  Put Mark Occurrences in the Fonts & Colors => Highlightings tab, or in the Syntax tab among the categories which apply to All 
Languages.

B. (Fallback.)  Put a button in Options => Editor => Mark Occurrences labeled "Set Highlighting..." which simply switches tabs and selects the appropriate 
item for editing, or at least put in a message about how to do it.  Given that Mark Occurrences gets its own configuration pane, it is very strange that 
the pane offers no hint about how to configure the appearance of the feature.

A complete solution would include A & B.
Comment 3 Petr Dvorak 2009-01-13 13:44:32 UTC
I am changing this to an enhancement.
Comment 4 Petr Dvorak 2009-01-15 16:18:40 UTC
Maybe (??) we could also use some of the space that is on the right from the "Language" combobox to give a user some
hint (possibly a message) saying that the settings are related to "all languages" and that some other settings can be
also set for a particular language. This hint ("Select a language for language specific settings.") would be displayed
only if "All languages" are selected...
Comment 5 Martin Balin 2016-07-07 07:30:38 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss