Community
Participate
Working Groups
While using the Type view (from the browsing perspective) to open a type, Eclipse demonstrates a very peculiar foible: It selects (in the editor) the name of the class you are opening. Although this particular mannerism seems mostly harmless, it gets really annoying really quickly when, for example, you're using the View to select files you already have open (don't want to go tab-hunting) because any positioning you've done in the file and any highighting is lost. And the mannerism can drive someone to the edge of lunacy when, for example, one is trying to do a search-and-replace for the exact same text in a number of types. Because not only does it highlight the name, but when you click on the editor to activate it and do your S&R, the contents of the "Find" field gets changed to the name of the type. Quite aggravating, that. I humbly request that this "feature" be... disabled... especially since there is no real discernible value in selecting the name of the type when the file is being opened. Instead, I suggest that, when a user clicks on a type, either open the file to the top of that type (if the file isn't open), just switch to it (if the file is open in another editor) or just switch to the type (if the file is open in the current editor -- this is for inner types). Thanks :-)
The Find/Replace problem is probably related to Bug 49794.
This causes some ripples we have to carefully think about before changing anything in this area: - what do we do if a CU defines two types (the editor doesn't show types, it shows a CU). - do we had the same semantic to the packages explorer.
Currently (3.0M6 GTK) a new editor is opened for each class, including (named) inner classes. I'm not asking for that to change -- just to get rid of the auto-highlighting. :-)
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.
Simple disable 'Link with Editor' in the Types view.