Matching brace only highlights when selecting before the opening brace

Rodrigo Salazar 6 Reputation points
2022-08-21T06:55:38.363+00:00

Using Visual studio enterprise 2022 preview. Editing C# files.

Where is the setting which controls whether cursor after an opening brace should be highlighting the closing brace?

In my visual studio editor brace highlighting only works when having the cursor before the opening brace.

Attached image: when having the cursor after an open brace

233090-braceopen.jpg

Brace highlighting works when selecting before the opening brace.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,851 questions
{count} vote