The .SNIPPET file extension refers to Visual Studio IntelliSense code snippets. Microsoft developed this file format. These snippet files help developers write code more efficiently in Visual Studio. To open a .SNIPPET file, double-click on its icon. If that doesn’t work, update the program you normally use to open these files. Only the latest software versions support the current .SNIPPET format. You may also need to scan the file with antivirus software before opening.
To use TextMate snippets in VS Code, see documentation on the Extension API. To place variables in pasted scripts, escape the ‘$’ in $variable names so they are not parsed during snippet expansion.
Built-in VS Code snippets are stored inside individual language extension directories. The path is similar on Windows, Mac and Linux. Snippets help developers by allowing reusable code templates.