vs项目配置详解(Detailed description of vs project configuration).doc
vs项目配置详解(Detailed description of vs project configuration) Detailed description of VS project configuration 1. fonts VC6 "Tools Options Format Font" configuration fonts; VC2005 "Tools > Options + environment + fonts and colors" configuration fonts. Write code using a monospaced font, font width lattice (bitmap), relative vector fonts has the advantages of patibility and clear display. Common programming monospaced font including Fixedsys (VC6 and notepad, Consolas, YaHei's font) Mono. The VC6 default optional font only Fixedsys and Terminal, by modifying the registry to change the font, there are several sub keys below in the HKEY_CURRENT_USER/Software/Microsoft/DevStudio/ font, you can modify the Source Window key FontFace and FontSize display to configure the source code window. For example, set the Consolas font of number 11: FontFace=Consolas, FontSize=11. 2. tabs (TAB) Block to the indented style writing, IDE hit the left bracket wrap generally will automatically indent (Auto Indent), the number of spaces and characters of the tab indent width is set to 4 half-width character. Because different editors have different TAB space settings, some are 4 and some are 8. In order to avoid the problem of uneven layout when using different editors to read programs, it is mended to use only the space key alignment. VC6 Tools - Options - Tabs "and" Insert spaces/Keep tabs "and select" Insert spaces "; VC2005" tools and options to all languages, text editor tab "configuration tab size (Tab Size) (Indent Size) / indent size 4 to insert spaces / retention tab" check "insert spaces". Character number of 3. line code On line to write much code wrap more appropriate, can be in the VC input line "/ /" can be learned, usually 75 or 80. 4. external connectors and external tools The outer connector can be extended Visual function of Studio, such as VC6 has no default line number display function, you can use the VC6LineNumberAddin plug-ins to achieve display
vs项目配置详解(Detailed description of vs project configuration) 来自淘豆网www.taodocs.com转载请标明出处.