Browse by Tags

Tagged Content List
  • Blog Post: Show All Settings with Web Development

    Windows:  ALT + T, O Menu:   Tools | Options Command:  Tools.Options Versions:  2005, 2008, 2010 Code:  vstipEnv0062   You can choose between one of the two Web Development settings:     When you do, you will not be able to see all your settings when you go...
  • Blog Post: Create Web Application or Virtual Directory in IIS

    Keyboard: SHIFT + ALT + N Menu: File -> New Web Site Command: File.NewWebSite Versions: 2008,2010 Published: 12/28/2010 Code: vstipEnv0058 Did you know you can create Web Applications and Virtual Directories in IIS from inside Visual Studio? Just go to File -> New Web Site and click on the Browse...
  • Blog Post: Change CSS Formatting

    Menu: Tools -> Options -> Text Editor -> CSS -> Formatting Versions: 2008,2010 Published: 12/26/2010 Code: vstipEdit0094 People are very picky about how their code is styled. Fortunately, Visual Studio comes with the ability to format your CSS code the way you like it. Just go to Tools ->...
  • Blog Post: Choosing CSS Versions

    Menu: Tools -> Options -> Text Editor -> HTML -> Validation (HTML Schema) Versions: 2008,2010 Published: 12/25/2010 Code: vstipEdit0093 Dedicated Style Sheets When working with Cascading Style Sheets you often find yourself working with specific versions. When you create a CSS file in Visual...
  • Blog Post: Go To Definition for CSS

    Keyboard: F12 Command: Edit.GoToDefinition Versions: 2008,2010 Published: 12/24/2010 Code: vstipFind0021 Work with SharePoint? Then make sure to check out the new SharePoint Developer Team Blog ! For those that are familiar with using "Go To Definition" in your code may not be aware that...
  • Blog Post: Application and Page Level Tracing

    Versions: 2008,2010 Published: 12/23/2010 Code: vstipProj0030 Work with SharePoint? Then make sure to check out the new SharePoint Developer Team Blog ! When debugging any project is is desirable to have as much information as possible to help deal with any issues. Working with web projects...
  • Blog Post: Use a Specific Port for the Development Server

    Versions: 2008,2010 Published: 12/21/2010 Code: vstipProj0029 Work with SharePoint? Then make sure to check out the new SharePoint Developer Team Blog ! If you are using a firewall on your operating system and/or just want to use the same port while you do web development you can configure...
  • Blog Post: Format the Current Document or Selection (HTML Designer)

    Keyboard: CTRL + K, CTRL + D (document); CTRL + K, CTRL + F (selection) Menu: Edit -> Advanced -> Format Document; Edit -> Advanced -> Format Selection Command: Edit.FormatDocument; Edit.FormatSelection Versions: 2008,2010 Published: 12/18/2010 Code: vstipEdit0089 In vstipEdit0057 ( http...
  • Blog Post: Set as Start Page

    Menu: Project -> Set As Start Page Command: Project.SetAsStartPage Versions: 2008,2010 Published: 12/16/2010 Code: vstipProj0027 When you create a new web project the default page is set for you automatically and is the first page you see when you start debugging: However, you may find that you want...
  • Blog Post: Change the Default View in the HTML Editor

    Menu: Tools -> Options -> HTML Designer -> General Versions: 2008,2010 Published: 12/15/2010 Code: vstipEdit0088 The default view when you use the HTML Designer is Source View: If you don't like this or just want another view to be the default you can go to Tools -> Options...
  • Blog Post: Enable Debugging in Web.Config

    Versions: 2008,2010 Published: 12/14/2010 Code: vstipProj0026 If you have ever created a web project in Visual Studio then you have undoubtedly encountered this dialog: A quick read tells you that it will modify the Web.config file to enable debugging: There are a couple of things to point out here:...
  • Blog Post: JScript Open Braces on a New Line

    Menu: Tools -> Options -> Text Editor -> JScript -> Formatting Versions: 2008,2010 Published: 12/13/2010 Code: vstipEdit0087 By default, Visual Studio will format JScript functions and control blocks with the open brace on the same line as the declaration: Without getting into the big debate...
  • Blog Post: Disable HTML, CSS, or JScript IntelliSense

    Menu: Tools -> Options -> Text Editor -> HTML -> General Versions: 2008,2010 Published: 12/10/2010 Code: vstipEdit0085 Personally, I love IntelliSense anywhere I code: However, some folks don't like it in some places and one place I find that is true is in the HTML editor. You can turn off...
  • Blog Post: Display HTML/CSS Warnings as Errors

    Menu: Tools -> Options -> Text Editor -> HTML -> Validation Versions: 2008,2010 Published: 12/9/2010 Code: vstipEdit0084 Normally HTML and CSS syntax problems will show up as warnings (green squiggles): These also show up as warnings in the Error List window: This means you can build and...
  • Blog Post: View in Browser

    Keyboard: CTRL + SHIFT + W Menu: File -> View in Browser Command: File.ViewinBrowser Versions: 2008,2010 Published: 12/8/2010 Code: vstipTool0119 You can quickly view your current page in your browser by pressing CTRL + SHIFT + W. It will automatically open up your default browser (see vstipEnv0057...
  • Blog Post: Comment and Uncomment in Web Pages

    Keyboard: CTRL + K, CTRL + C; CTRL + K, CTRL + U Menu: Edit -> Advanced -> Comment Selection; Edit -> Advanced -> Uncomment Selection Command: Edit.CommentSelection; Edit.UncommentSelection Versions: 2008,2010 Published: 12/7/2010 Code: vstipEdit0083 Comment By now you probably know that...
  • Blog Post: Insert Quotes When Typing Attribute Values

    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: You can have quotes...
  • Blog Post: Vertical Split View

    Menu: Tools -> Options -> HTML Designer -> General Versions: 2008,2010 Published: 12/5/2010 Code: vstipEdit0081 The default way Split view handles the panes is to tile them horizontally: However, you can change this by going to Tools -> Options -> HTML Designer -> General and selecting...
  • Blog Post: Using Additional Browsers for Web Development

    Menu: File -> Browse With Command: File.BrowseWith Versions: 2008,2010 Published: 12/4/2010 Code: vstipEnv0057 When you are doing web development in Visual Studio you may want to use a different browser than Internet Explorer. You can do this by using the Browse With dialog. Getting to this dialog...
Page 1 of 1 (19 items)