Automatically highlight words matching the active word when the caret is in a string or comment. Highlighting extends beyond the string or comment to "symbols", or words, that are identical in name to the current word.
![](/~/media/wholetomato/kb/documentation/highlight-matching-words/highlightmatchingwordexample.ashx?la=en&hash=80EAE7AED7AF126FD3A0EA18E9E4CA2F34244AD7)
Unlike Highlight References to Symbol Under Cursor, this highlighting feature becomes active when you move into a string or comment. Any scope associated with the current "symbol" is ignored.
Matching is case sensitive, and partial-word matches are ignored.
Access
Enable highlighting in the options dialog of Visual Assist.
![](/~/media/wholetomato/kb/documentation/highlight-matching-words/highlightmatching1.ashx?la=en&hash=69E84764F629977FF189FEBBE1F631ACE2A76D5A)
Color
Highlighting occurs only with the color for read references, shared with Find References and Highlight References to Symbol Under Cursor.
![](/~/media/wholetomato/kb/documentation/highlight-matching-words/highlightmatching.ashx?la=en&hash=728DA28F720920B5B762D3E1C84CE64AAFCB1E7D)
Visual C++ 6.0
Highlight Matching Words is not available.