DEV Community

Discussion on: How To Add Custom Code Snippets in VS Code

codycodes profile image
Cody Gagnon

Once again a great post for some coding life hacks! Didn't know about Turbo Console Log extension previously and I'm sure that'll be getting some use from me!

I also didn't know that you could parameterize the snippets and use tab key to enumerate them, which is SUPER useful! One thing this also taught me is that you should also check whether or not the snippet already exists before just making it, as in my case I created a snippet just to learn it already was created for me when I installed the language support!

Lastly, I think it's really cool that you can specify the context which these snippets will activate, which is definitely great for distinguishing snippets in different programming languages or even files!