My VS Code editor will highlight all matches of a word when I just have the cursor on top of that word.
How do I turn this off? Is this a bug?
Just set
"editor.occurrencesHighlight": "off"
in your settings if you don't want those. Selecting the word will still highlight all occurrences but not just a cursor within the word.
Other options for the setting are singleFile
and multiFile
.