Author |
Topic |
|
RoSe
Junior Member
15 Posts |
Posted - Mar 20 2007 : 05:25:10 AM
|
Just got the new 1549 and like the highlightening of the current line. As a I changed from Eclipse to Visual Studio I miss the "Mark Occurrences" feature very much. Wouldn't it be possible to have an option to turn the highlight references "always on" in the current file? So selecting a field, variable or method shows all occurences in the file or in an advanced version it shows all methods in an file and e.g. variables only in their scope ... |
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Mar 20 2007 : 10:33:27 AM
|
Turn on:
VA Options -> Text Editor -> General -> Highlight references using
set the colours you like, and use VA's Find References feature.
http://www.wholetomato.com/products/features/findReferences.asp
This should do what you are looking for. |
zen is the art of being at one with the two'ness |
|
|
sean
Whole Tomato Software
USA
2817 Posts |
Posted - Mar 20 2007 : 11:18:39 AM
|
This might be feature request case=5141.
Can you describe the Eclipse feature some more? Do you invoke a command to make the highlights happen or does it constantly track where the caret is placed? |
|
|
RoSe
Junior Member
15 Posts |
Posted - Mar 20 2007 : 11:36:33 AM
|
I already found the feature you mentioned. What I'm thinking of would be the "real time" version of VA's find reference. As soon as I mark a method, variable, field ... all occurrences in the current file should be marked. So that I don't have to press a button for the search and the search should be limited to the file under work. A better desription of the feature could be found under http://www.javalobby.org/java/forums/t19240.html for example. This is pretty smart for navigating quickly in my code or understanding unknown code. If you get used to it you can't live without it ;-) |
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Mar 20 2007 : 12:43:15 PM
|
This is feature request case=5141
You can get VIM to do the same thing, which is very useful, I agree. |
zen is the art of being at one with the two'ness |
|
|
accord
Whole Tomato Software
United Kingdom
3287 Posts |
Posted - Sep 20 2007 : 5:51:18 PM
|
A great idea from eclipse: "Select a return type to highlight all the exit points of a method." I like it. It would be extremely useful, if I could highlight all return point within a function...
I know I know, I can find "return", but it's not the same |
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Sep 21 2007 : 10:19:16 AM
|
I rather like that idea, and it does build on the active marking idea quite nicely. I have put in a feature request for this:
case=8987 |
zen is the art of being at one with the two'ness |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Dec 01 2008 : 07:26:04 AM
|
case=5141 is implemented in build 1707 |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Jan 27 2009 : 10:58:03 PM
|
case=21926 deals with automatic highlighting of references to the symbol under the cursor.
case=21926 is implemented in build 1715
Enable in VA Options|Advanced|Refactoring|Automatically highlight references to symbol under cursor. |
Whole Tomato Software, Inc. |
|
|
|
Topic |
|