See these options in Options dialog from TOOLS menu:
- Text Editor → General → “Show selection matched”
- Text Editor → Visual Basic → Advanced → “Highlight related keywords under cursor”
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am trying to figure out how to turn off the Automatic Highlighting of Matching words or variables in the Visual Studio 2022 Text editors. For Example, if my cursor is on Sub or Function, all words in the current file with Sub or Function are automatically highlighted. I find this very distracting. How do I turn this off? It doesn't matter what type of file I have open. aspx, aspx.vb, config files. It is the same in every one.
See these options in Options dialog from TOOLS menu: