Be more productive in VSCode
Shortcuts
-
- Change both opening and closing HTML tags
-
F2
- and then write the new tag
-
- Choose the language of a new file
-
Ctrl/⌘ + N
: Create new file Ctrl/⌘ + K, M
: Open the language mode menu
-
- Open the default terminal
Ctrl/⌘ + '
: Open the default terminal
-
- Surround a selected piece of text with a new tag
-
-
Ctrl/⌘ + Shift + P
: Open the command palette - Start typing to find:
Emmet: Wrap with Abbreviation
Enter
- Type the tag without the angle brackets, e.g.
div
Enter
-
- Zen Mode - Full screen, no sidebars
Ctrl + K, Z
-
- Navigation between panes
-
Ctrl/⌘ + 0
: Left sidebar Ctrl/⌘ + 1
: Main editor window Ctrl/⌘ + '
: Terminal
Snippets
Full article on how to create and use an HTML snippet.