'Visual Studio Code Snippets
I am just wondering how do I create my own custom snippets in visual studio code to make my workflow more productive. This one is specifically for linking my bootstrap at the start of each HTML website.
Solution 1:[1]
A simple method to generate your own snippets is to use an online generator
After you created your snippet:
- Download/install/open VSCode.
- Press Ctrl+Shift+p or F1 to open the search bar.
- Type
Preferences: Configure User Snippets
. - Open the
language_of_your_choice.json
file. - Copy/paste the full json code that you made in the online generator into your VSCode
language_of_your_choice.json
file. - Save and close. You're done!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | HamiltonPharmD |