Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Smart highlighting
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

stormtroopa
Junior Member

11 Posts

Posted - Feb 11 2011 :  05:49:23 AM  Show Profile  Reply with Quote
I would like to have every word highlighted which is similar to the selected one. (In other editors it is called "Smart highlighting".)
There is already a feature called "Highlight find results" which perhaps can be extended to behave in the suggested way...

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Feb 11 2011 :  12:03:41 PM  Show Profile  Reply with Quote
What do you mean by "similar"? If the word is not the same, then it is a different symbol, and may have nothing to do with the current symbol.

This makes sense in a word processor, where you may want "cat" and "cats" highlighted, but I am not sure why you would want this in your source code.

zen is the art of being at one with the two'ness
Go to Top of Page

stormtroopa
Junior Member

11 Posts

Posted - Feb 14 2011 :  04:51:57 AM  Show Profile  Reply with Quote
With similar I mean identically ;)
If "cat" is selected all other occurrences of "cat" should be highlighted.
In C++ - Eclipse this feature is called "Mark occurrences of selected element in current file".

I find this feature extremely useful!

Edited by - stormtroopa on Feb 14 2011 04:52:22 AM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Feb 14 2011 :  11:31:31 AM  Show Profile  Reply with Quote
Have you tried turning on:

VA Options -> Advanced -> Refactoring -> Automatically highlight references to symbol under cursor

This highlights all instances of the symbol under the caret. This feature uses VA's parser to understand scope, so it should not highlight the local variable "cat" in two different functions, since they are two separate variables.

Alternatively:

VA Options -> Advanced -> Display -> Highlight find results

highlights all references that the IDE find results find, so it will highlight all instances of "cat" in the current file, regardless of scope.

zen is the art of being at one with the two'ness
Go to Top of Page

stormtroopa
Junior Member

11 Posts

Posted - Feb 16 2011 :  02:51:34 AM  Show Profile  Reply with Quote
Yes, that was exactly what I'm looking for. It was even active, but the selected color was too pale to see anything. Thx!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000