From the course: Visual Studio 2019 Essential Training
Unlock the full course today
Join today to access over 22,700 courses taught by industry experts or purchase this course individually.
How the proper editor window is loaded - Visual Studio Tutorial
From the course: Visual Studio 2019 Essential Training
How the proper editor window is loaded
- [Instructor] There are dozens of code editors available in Visual Studio. Each code language and markup language has a dedicated editor. This way each editor knows how to represent the text shown and which keywords are part of the language. Then the editor can apply the formatting rules that define the appearance of the text. I'll start by opening this ExamplesHere.cs file. When I double-click on it it opens it in an editor, and it knows that it's a C# file because of the file extension .cs. There's somebody that works at Microsoft that wrote the editor rules for this, and so the rules are things like public, void, new, and var, these are keywords and those should be colorized blue. Strings are colorized as red. Comments are created in a C# file by putting these characters at the beginning of a line of text. So that comments out that line, and in this case it get colorized green. Other languages have different sets of rules so they have different editors. The person that wrote the…
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
-
-
-
-
-