VS Code's secret snippets

5 min read
stylish cover image of a blue easter egg in green foliage
Photo by Markus Spiske

Did you know that VS Code has built-in snippets for lots of languages?

vscode showing intellisense suggestions for javascript snippets

They are not documented in the VS Code docs.

There is no way to browse them inside VS Code.

Soo, how can I find them?

It’s awkward to track them down yourself!

snippets ranger logo

This spurred me to write an extension called Snippets Ranger to give a nice UI to explore all your snippets easily.

snippets ranger logo

Also, remember that Snippets can be defined in a few different places. They can be added by:

Keeping track of them yourself is not practical.

How do I find the built-in snippets myself?

If you want to track down the source files yourself, they live inside each individual language extension directory.

Find this helpful?

I would appreciate if you add a favourable review in the marketplace or star the github repo.

If encounter an issue or have a feature request, you are welcome to make an issue on github.