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.
-
Does this answer your question: stackoverflow.com/questions/29995863/…Fareed Khan– Fareed Khan2020-05-20 17:45:37 +00:00Commented May 20, 2020 at 17:45
-
read the VSC docs about snippets, on the site where you downloaded VSCrioV8– rioV82020-05-20 23:05:18 +00:00Commented May 20, 2020 at 23:05
Add a comment
|
1 Answer
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.jsonfile. - Copy/paste the full json code that you made in the online generator into your VSCode
language_of_your_choice.jsonfile. - Save and close. You're done!