WiseOwl Training - Established 1992 Wise Owl Training

Established May 1992
30 years in business
Wise Owl Training
30 years in business
See 527 reviews for our classroom and online training
Changing Visual Studio default settings for ASP.NET
Part four of a five-part series of blogs

Visual Studio is a great tool for developing websites using ASP.NET - it can be made even greater by tweaking some default settings. Use this blog to change the default start-up options, assign a navigate backward key, insert attribute quote marks and open pages in HTML view by default.

  1. Visual Studio - default settings to change for ASP.NET
  2. Changing Visual Studio Start-Up Options
  3. Opening Visual Studio pages in HTML view by default
  4. Inserting Attribute Quote Marks Automatically (this blog)
  5. Creating a Navigate Backward Key

Posted by Andy Brown on 02 August 2011

You need a minimum screen resolution of about 700 pixels width to see our blogs. This is because they contain diagrams and tables which would not be viewable easily on a mobile phone or small laptop. Please use a larger tablet, notebook or desktop computer, or change your screen resolution settings.

Inserting Attribute Quote Marks Automatically

This is one of the strangest defaults - why wouldn't you want to insert quotation marks round attributes?

Quote marks inserted

In this diagram, the quotation marks have been inserted automatically - this happens for any HTML or ASP.NET tag.


To tell Visual Studio 2010 to insert quotation marks automatically, from the menu select Tools -> Options... then:

Tools Options - insert quotes

Complete the dialog box as shown in the numbered steps below

The steps to follow are:

  1. Select the Text Editor tab of the startup options dialog box.
  2. Choose the Formatting tab in the HTML section.
  3. Tick the box to insert attribute values automatically when typing.

Believe me, this will change your life!

This blog has 0 threads Add post