nikitakunevich / vscode-snippet-creator

vscode extension for creating snippets
MIT License
44 stars 25 forks source link

How to edit or delete a snippet? #8

Closed achiinto closed 6 years ago

achiinto commented 6 years ago

Is there a way? or a place that stored the created snippets, which we can go to modify?

ethan-dowler commented 6 years ago

if you open the command palette, search for 'Preferences: Configure User Snippets'. it will then ask for which file extension you want to edit snippets for. just type in 'html', 'scss', 'javascript', etc. and you can edit your snippets in the corresponding json file.

Just a tip, the most useful edit is to add tab stops to the snippet using $1, $2, $3, etc.

achiinto commented 6 years ago

Thanks for the information. I will give it a try. Love the simplicity of the tool so far.

achiinto commented 6 years ago

Confirmed, that answered my question. Very useful tool indeed.