Visual Studio contains a Track Changes feature that monitors code edits and provides visual feedback to indicate where the changes are and whether the changes have been saved.
- Visual Studio contains a Track Changes feature…which monitors your code edits…and provides visual feedback to indicate what has changed.…This feature is important…because it allows you to quickly determine…what has changed in a code session…so you know what to save,…and whether you have saved the changes to the hard drive.…I'll start by looking at how to enable the feature.…The feature is in the Tools, Options settings…under the text editor general section.…You want to check this, Track changes.…You'll also need to make sure…that the Selection margin is checked.…
The Selection margin adds extra space…to the left side of the code editor.…The track changes feature uses this margin…to indicate the changes in the code document.…By default, Visual Studio uses two colors,…yellow and green, to indicate the changes.…These colors can be customizable in the settings,…up here in Environment, Fonts and Colors.…So there is the track change color…after you have saved your changes.…And this is the color that is used…when you have changes in your document…
- 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 Intermediate
Q: This course was updated on 08/21/2017. What changed?
A: New videos were added that cover visualizing code and markup with structure guidelines in Visual Studio 2017; refactor enhancements in Visual Studio 2017; format rules for C# in Visual Studio 2017; format rules for Visual Basic in Visual Studio 2017; smart peek options; and CodeMap in Visual Studio 2017.
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?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
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.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.