Each code editor in Visual Studio has a set of configurable rules that control the formatting of the code. Walt shows the key setting available for the C++ editor.
And C++ has a set of configurable rules,…so you can change the defaults to ones…that appeal to your sense of layout.…To make these changes, you go to the Tools menu…and choose Options.…Then you choose this node here, the C++ node.…And of course, the things you're looking for…are here in the Formatting section.…You can control when the formatting happens.…I showed you how to do it using the menu,…but C# and C++, and some of the other languages,…will format single lines of code as you type them.…
So you can choose to automatically indent…when I type the tab character.…
- Exploring the code editor window and default settings
- Commenting code
- Using hover tips and IntelliSense
- Tracking changes
- Refactoring code
- Formatting and arranging code
- Navigating and inspecting code
- Using the Task List
- Working with snippets and smart tags
Skill Level Beginner
ASP.NET MVC 5 Essential Trainingwith Michael Sullivan3h 40m Intermediate
1. Work with Code Editors
2. Format Your Code
3. Navigate and Inspect Code
4. Tools for Enhancing Your Coding Sessions
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.