From the course: Visual Studio 2019 Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Change tracking for code edits - Visual Studio Tutorial
From the course: Visual Studio 2019 Essential Training
Change tracking for code edits
- 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 your hard drive. I'll start by looking at how to enable the feature. It's in the text editor section, under general. This is the setting you want, track changes. So, enable that. You'll also need to have the selection margin enabled. 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. Those are customizable in the environment area. Track changes, after save, is green. Track changes, before save, is yellow. And if you'd like to change to your own colors, use this section or the custom…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
Explore the code editor windows4m 27s
-
(Locked)
How the proper editor window is loaded4m 26s
-
(Locked)
Write example code6m 37s
-
(Locked)
Use outliners and regions in your code4m 52s
-
(Locked)
Use hover tips3m 27s
-
(Locked)
Quick actions5m 29s
-
Use IntelliSense effectively5m 34s
-
(Locked)
Change tracking for code edits2m 37s
-
(Locked)
Refactor your existing code5m 3s
-
(Locked)
Code snippets5m 7s
-
-
-
-
-