Search posts, tags, users, and pages
Gaute Meek Olsen
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...
Thomas Shallenberger
Software architecture, engineering, data analytics, amateur blockchain/smart contract dev
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
Web developer, blogger, cyclist and chess player
Hi.
Setting up prettier.io should help enough not to think of snippet format at least for the start.
Thomas Shallenberger
Software architecture, engineering, data analytics, amateur blockchain/smart contract dev
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.