Turn Off Automatic Highlighting of Matching Words in Visual Studio 2022 (C++)

Ford, Kyle 20 Reputation points
2024-03-29T15:00:02.2333333+00:00

How do I toggle the highlighting of "matching words" for C/C++ in the text editor?

I found a similar question for "Visual Basic" and "C#".
I am unable to find the option(s) for "C/C++".

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,608 questions
0 comments No comments
{count} votes

Accepted answer
  1. Viorel 112.1K Reputation points
    2024-03-29T15:14:20.5466667+00:00

    Go to menu, TOOLS, Options, Text Editor, C/C++, Advanced, and change the “Disable Reference Highlighting” option.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Michael Taylor 48,281 Reputation points
    2024-03-29T15:17:22.79+00:00

    In Options, go to Text Editor \ C/C++ \ View. Then go down to Miscellaneous and finally Highlight Matching Tokens. Alternatively go to the Options and type Matching in the search bar and it'll do the same thing.

    0 comments No comments