how to disable word automatic highlight in visual studio 2019?

Viewed 483

In visual studio 2019, if you click a word, it will highlight all its occurrences. But if click some blank place, it will de-highlight all.

I only want to highlight the words when double-clicking it, and de-highlight the words if I double click it again.

2 Answers

It differs for each programming language. For C/C++ it's:

Tools/Text Editor/ C/C++ /Advanced/Disable Reference Highlighting (in References section)

Related