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
 Highlight all occurrences of selected word
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ontherocks
Junior Member

13 Posts

Posted - Jun 08 2016 :  01:59:43 AM  Show Profile  Reply with Quote
Similar to the Visual Studio extension (https://visualstudiogallery.msdn.microsoft.com/4b92b6ad-f563-4705-8f7b-7f85ba3cc6bb), I would like to have this inbuilt in Visual Assist.

Feature Requests:
* Highlights all occurrences of selected word
* Can change the color of the highlight
* The current selected word has a different color that the base color set. This helps in identifying the current selected word when cycling through all the words (e.g. using F3) [This feature is present in Notepad++]
* All the highlighted word locations show up in the right scroll bar

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Jun 08 2016 :  3:32:48 PM  Show Profile  Reply with Quote
Some of this is already available. You can tell VA to highlight references to the symbol under the cursor:

http://docs.wholetomato.com/default.asp?W186

and the colours used can be configured. You can also ask VA to highlight the find results:

http://docs.wholetomato.com/default.asp?W185

When you do this, VS2015 will do some marking in the scroll bar.

You can also use Find References if you want an overview of all of the references, which can highlight the references in the editor, and list all of them in the Find References Results window:

http://docs.wholetomato.com/default.asp?W189

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

ontherocks
Junior Member

13 Posts

Posted - Jul 11 2016 :  06:19:28 AM  Show Profile  Reply with Quote
When I set "Highlight write and read references to symbol under cursor", another message pops up saying "The Visual Assist Automatically highlight references feature was enabled and the Visual Studio version is also enabled. Disable the Visual Studio feature?"



If I say Yes, which option in Visual Studio 2015 gets disabled?

Edited by - ontherocks on Jul 11 2016 06:23:05 AM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Jul 11 2016 :  2:03:23 PM  Show Profile  Reply with Quote
If you select Yes, the disabled option is:

IDE tools menu -> Options -> Text Editor -> C/C++ -> Advanced -> Disable Reference Highlighting

the VS2015 option uses the same colour for all references. VA uses a different colour for read vs write references, so we try to be more helpful with the highlighting.

If you turn Off the VA option, VA will ask you if you want to enable the IDE option again, taking you back to how things used to be.

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

ontherocks
Junior Member

13 Posts

Posted - Jul 12 2016 :  06:18:48 AM  Show Profile  Reply with Quote
quote:
Originally posted by feline

If you select Yes, the disabled option is:

IDE tools menu -> Options -> Text Editor -> C/C++ -> Advanced -> Disable Reference Highlighting

the VS2015 option uses the same colour for all references. VA uses a different colour for read vs write references, so we try to be more helpful with the highlighting.

If you turn Off the VA option, VA will ask you if you want to enable the IDE option again, taking you back to how things used to be.


Great.
Just wanted to know the option VA enables/disables under the hood
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