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.
Code snippets - Visual Studio Tutorial
From the course: Visual Studio 2019 Essential Training
Code snippets
- [Narrator] Snippets are small sections of code that are inserted into your editor by typing the snippet shortcut keyword, and expanding the snippet text into your code. You can see them in the tools menu in the code snippets manager. This shows all the installed snippets. By default, a new install of Visual Studio has the snippet. You can also add snippets by installing custom Visual Studio extensions, that happen to have their own snippets, or you can download snippets from the internet, or you can create your own snippets. And of course if you want to do that, you can use the import button to bring them in. For today we're looking at the default snippets. We can see them based on the language. I see there's a lot of language choices. The two that we'll look at today is CSS and CSharp. We'll start by looking at CSS. These are all of the snippets that are available. When I select one of them, I can see that it's a font-embedding snippet. It is an expansion snippet, which means I…
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
-
-
-
-
-