You can zoom in or out in the editor by pressing the Ctrl key and scrolling with your mouse wheel. Line numbers can be set for all languages or for specific languages only, including C++. You can add line numbers to your project by going to Tools > Options > Text Editor > All Languages > General or by searching for "line num" with Quick Launch (Ctrl + Q). Other outlining options are located under Edit > Outlining in the main menu. When you place your cursor in front of a curly brace, '', the editor highlights its matching counterpart. Right-click anywhere in a source code file and choose Outlining to collapse or expand code blocks and/or custom regions to make it easier to browse only the code you're interested in. ![]() In the Fonts and Colors dialog, scroll down to the C/C++ options and then choose a custom font and/or color. You can customize the colors by typing "Fonts" in Quick Launch, and then choosing Fonts and Colors. Unused code (such as code under an #if 0) is more faded in color. Visual Studio colorizes syntax elements to differentiate between types of symbols such as language keywords, type names, variable names, function parameters, string literals, and so on. For more information about the shared features, see Writing Code in the Code and Text Editor. ![]() Some are unique to C++, and some are essentially the same for all Visual Studio languages. ![]() The C++ code editor and Visual Studio IDE provide many coding aids.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |