VSCode snippets are awesome

I recently learned to make snippets in VSCode and now I coulndn't live without them. If you don't know what snippet is try writing for in JavaScript file, it will suggest a few built-in snippets (for, foreach...). Here's how you can make your own snippets:

File -> Preferences -> User Snippets or Ctrl+Shift+P -> Preferences: Configure User Snippets

After you select the file extension, there should be an example how to make custom ones.

Relevant links:
Snippets in Visual Studio Code
Snippet generator


- 4 toasts