Introduction
Visual Studio Code is powerful yet lightweight and was ranked as the most popular code editor by Stack Overflow’s 2022 Developer Survey. Out of the box, Visual Studio Code comes with numerous quality of life and productivity features. One of my favourite features is the snippets feature due to its versatility and multiple use cases.
What is a Code Snippets?
Code snippets are templates that allow for the faster creation of repeating code patterns. One of the most common examples of a code snippet is the for loop, as the basic structure of a for loop does not change. To use a code snippet, you have to type the associated prefix and then it will appear in Visual Studio Code’s IntelliSense panel (Ctrl + Space). You can then select the snippet with your arrows and the enter key. Once selected, there will typically be different highlighted sections that can be changed for your use case and navigated between using the tab key.








