Increase the navigation line to Microsoft Visual Studio text editor

 

Many coding specifications of each line of code length more than width of 80 English characters (print object is to facilitate and small display).

 

How easily do this in Microsoft Visual Studio as well?

 

The method is simple, add the following content is saved as a file vs2k8guide.reg then double-click import the registry, you can see the effect after the restart VS.

 

Windows Registry Editor Version 5.00  

[HKEY_CURRENT_USER/Software/Microsoft/VisualStudio/9.0/Text Editor]

"Guides"="RGB(255,128,0) 80,120"

 

Note: The above code applies to Visual Studio 2008, if you are using a different version of Visual Studio, please come to modify the version number.

 

Visual Studio 2010:

  HKCU/Software/Microsoft/VisualStudio/10.0/Text Editor

Visual Studio 2008:

  HKCU/Software/Microsoft/VisualStudio/9.0/Text Editor

Visual Studio 2005:

  HKCU/Software/Microsoft/VisualStudio/8.0/Text Editor

Visual Studio 2003:

  HKCU/Software/Microsoft/VisualStudio/7.1/Text Editor

 

Format parameters are:

 

RGB(r,g,b) n1 ,n2 ,...,n13

 

(R, g, b) represents the color of the navigation line, n1 ~ n13 represents English character string navigation line width, i.e., the navigation can have up to 13 lines. Previous sample code specified three navigation lines.

 

Results are as follows:

 

 

Guess you like

Origin www.cnblogs.com/yYang365/p/7448512.html