Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable automatic double quotation marks in Visual Studio 2022

I used Visual Studio 2022 for some time now and it has a really annoying behaviour. When I enter a quotation mark ›"‹ before existing text, to wrap this text in quotation marks, Visual Studio instead enters two quotation marks before the text.

In earlier versions this only happened if you'd entered the quotation mark at the end of the line, but not before existing text.

Very often, I only want to enter one quotation mark and Visual Studio writes two. I thought maybe I get used to this behaviour, but I didn't.

Has anyone an idea how to deactivate this behaviour.

I already deactivated all Extensions just to be sure this behaviour was not caused by an extension.

like image 491
Martini Bianco Avatar asked Aug 31 '25 18:08

Martini Bianco


1 Answers

Automatic Brace Completion is per-language setting, you can disable it for a language or for all of them:

Note that it will affect not only quotes, but also { or (.

enter image description here

like image 75
Alex Guteniev Avatar answered Sep 02 '25 12:09

Alex Guteniev