Search posts, tags, users, and pages
Often you find yourself typing repetitive code or code you don't always remember by heart. With Visual Studio Code you can easily create your own code snippets so you can use them at any time. Like this: Start by opening the Command Palette Ctrl + S...
Gaute Meek Olsen
@Gaute · Oslo, Norway
Markdown supported · ⌘↵ to post
Thomas Shallenberger
Yeah but it's so tedious trying to write a user snippet manually in multiple text strings, formatted correctly, with the right indentation, etc. Also hard to add the variable stops where you want to be prompted for custom input.
I agree, I wish they could improve that! Luckily it's a one-time job.
Matej Bošnjak
Hi.
Setting up prettier.io should help enough not to think of snippet format at least for the start.
Thomas Shallenberger
Yeah but it's so tedious trying to write a user snippet manually in multiple text strings, formatted correctly, with the right indentation, etc. Also hard to add the variable stops where you want to be prompted for custom input.