Search code examples
visual-studio-2013autocompletedouble-quotes

Disable auto-insert of double quotes in html in Visual Studio 2013


Is it possible to do this? I can't find anything in the Options that disables this.

For example, if I type

<table cellpadding=

it automatically inserts "" and positions the cursor between the two quotes. This is not what I prefer to do. I prefer to type without quotes, and then select the text and format it -- it is much quicker. In previous versions of Visual Studio, it did the auto-insert by default, but I was able to disable it. I can't find a way to do it in Visual Studio 2013. Disabling "brace completion" does not work. It's driving me nuts!


Solution

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

    • General -> Automatic brace completion
    • Advanced -> Insert attribute value quotes

    or/and in HTML (Web Forms)

    • Formatting -> Insert attribute value quotes when typing