Tuesday, December 27, 2016

Customizing the Document Window in vs


                 In today tutorial we will cover Customizing the Document Window in vs
  and the  Visual Studio gives you great flexibility with regard to how text is displayed in the Document Window. You can change things like font size, font color, and even the background color of the text. You can access the Font and Colors settings by choosing Tools ➪ Options, and then choosing Environment ➪ Fonts and Colors. Alternatively, press Ctrl+Q to put the focus on the Quick Launch textbox at the very top of the IDE. Then type font and press Enter to select the highlighted item Environment — Fonts and Colors. Quick Launch is a great tool for accessing features such as options and menu commands. For more information about Quick Launch, check out: http://bit .ly/1eljcko.

                        
  One thing I like to customize in the Document Window is the tab size, which controls the number of spaces that are inserted when indenting code. To change the tab size, choose Tools ➪ Options, and then under Text Editor choose All Languages ➪ Tabs. I usually set the Tab and Indent Size to 2 spaces, leaving the other settings in the Tab panel untouched. Another thing I like to customize is the number of line breaks before and after HTML elements. The Options window gives you full control over this: Select Text Editor ➪ HTML (Web Forms) ➪ Formatting and then click Tag Specific Options. In the list on the left you can select a tag and then with the settings on the right you can control how the tag is formatted. The Preview box makes it easy to see how the various settings change the formatting. Note that Web Forms has its own category in the Options dialog because it uses a different HTML editor under the hood than the other HTML-based editors found in Visual Studio.
    If you prefer to see line numbers in the gutter of the Document Window, choose Tools ➪ Options ➪ Text Editor ➪ All Languages and select the Line Numbers checkbox. With the exception of the Tab Size being set to 2 and the number of line breaks around a few HTML elements, all screen shots in this book show the default setup of VSEW.

tips time:
          It was developed by Microsoft to allow programmers to build dynamic web sites, web applications and web services. It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft's Active Server Pages (ASP) technology.

Customizing Toolbars in vs 20113

No comments:

Post a Comment

We are happy for leaving comments,we will don't let you bite stay with us

Popular Posts

Contact Form

Name

Email *

Message *