From the course: Visual Studio Code Productivity Tips
Unlock this course with a free trial
Join today to access over 24,400 courses taught by industry experts.
Use Emmet notation to quickly add boilerplate text
From the course: Visual Studio Code Productivity Tips
Use Emmet notation to quickly add boilerplate text
- [Narrator] Emmet notation is a text expansion tool that allows you to quickly add complex markup with simple shortcuts, speeding up your coding process. No need to add any extensions as Visual Studio Code supports Emmet notation within the Editor. You've probably used Emmet without even realizing it as it automatically appears when typing HTML or CSS. Here I am in this HTML document and I'd like to add a table tag. The typical way we do this, we'd start with the angle bracket, start typing table. Visual Studio's showing us some code snippets. You see the wrench on the left side. I can press the Tab key to finish the snippet and then press the closing angle bracket and Visual Studio Code stubs in the end tag and places the cursor between the begin tag and the end tag. This is not Emmet. It's useful, but it's not Emmet. Instead, I'll start typing without the angle bracket. So I'll just start typing table, T-A. Then I see that there's a list of items that start with T-A. You can see…
Contents
-
-
-
Explore and navigate code: Go to Definition3m 24s
-
(Locked)
Explore and navigate code: Find All References2m 21s
-
(Locked)
Explore and navigate code: Peek Definition1m 26s
-
(Locked)
Refactor the code5m
-
(Locked)
Tidy up code layout with Format Document4m 18s
-
(Locked)
Create custom keybindings for commands2m 18s
-
(Locked)
Fun with brackets and braces2m 49s
-
(Locked)
Simple technique to move code blocks52s
-
(Locked)
Use Emmet notation to quickly add boilerplate text8m 19s
-
(Locked)
Use font ligatures to add symbols to your code3m 31s
-
(Locked)
Better document tabs5m 10s
-
(Locked)
Declutter the UI2m 16s
-
(Locked)
Work with files3m 12s
-
(Locked)
Expand selection with keyboard shortcuts2m 14s
-
-