Turn off automatic quote insertion in Visual Studio 2010

Ukko picture Ukko · Sep 1, 2010 · Viewed 7.2k times · Source

I am editing a huge number of legacy ASP pages that have been converted over to C#. One problem is that the HTML attributes need to be adjusted to correct some double quote problems.

My problem is that when I add a double quote VS dutifully inserts the closing quote in the wrong place. I then need to go an delete that quote and enter the closing quote. I also have to watch that when I insert the closing quote it does not throw in another extra quote.

I googled for a solution, I am sure it is easy to turn off. But I could not find the right keywords to suss it out.

Answer

JaredPar picture JaredPar · Sep 1, 2010

There are 2 options I'm aware of which control the insertion of the double quotes for ASPX pages.

  • Tools -> Options
  • Text Editor -> HTML -> Formatting

Under the Automatic Formatting Options try toggling the following options

Dialog Example

I have both of these disabled and don't see the issue you're describing.