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
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.