Creating custom VSCode Snippets
When I find myself copying and pasting boilerplate code, I create a snippet to help me code faster.
Create a global snippets file.
Code > Preferences > User Snippets
- New Global Snippets File...
- Name your file and press
Define your snippet and start using it!
Type your defined prefix and press
See your snippet appear.