Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top