Insert Quotes When Typing Attribute Values

Tips Search

If you like the tips then you'll love the book!

Order your copy today:
http://www.amazon.com/gp/product/0735649928

Insert Quotes When Typing Attribute Values

  • Comments 1

Menu:  Tools -> Options -> Text Editor -> HTML -> Formatting
Versions:  2008,2010
Published:  12/6/2010
Code:  vstipEdit0082

 

One of the more annoying things about web development in Visual Studio is when I am typing in attributes and it doesn't include the quotes automatically:

image

 

 

You can have quotes included automatically when you type in attributes if you go to Tools -> Options -> Text Editor -> HTML -> Formatting and select "Insert attribute value quotes when typing":

image

 

 

From now on it will include quotes when you type in attributes:

image

  • Thank you! This will definitely save me some keystrokes

Page 1 of 1 (1 items)
Leave a Comment
  • Please add 5 and 1 and type the answer here:
  • Post