Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Turn off automatic quote insertion in Visual Studio 2010

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.

like image 479
Ukko Avatar asked Sep 01 '10 16:09

Ukko


1 Answers

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.

like image 60
JaredPar Avatar answered Oct 15 '22 04:10

JaredPar