0

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.

2
  • Does this answer your question: stackoverflow.com/questions/29995863/… Commented May 20, 2020 at 17:45
  • read the VSC docs about snippets, on the site where you downloaded VSC Commented May 20, 2020 at 23:05

1 Answer 1

1

A simple method to generate your own snippets is to use an online generator

After you created your snippet:

  1. Download/install/open VSCode.
  2. Press Ctrl+Shift+p or F1 to open the search bar.
  3. Type Preferences: Configure User Snippets.
  4. Open the language_of_your_choice.json file.
  5. Copy/paste the full json code that you made in the online generator into your VSCode language_of_your_choice.json file.
  6. Save and close. You're done!
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.