I started learning how to use Go templates about a year ago and I found it arduous to stressful to type syntax like {{ block "name" pipeline }} in full, by hand, so I did what developers do - I built a VSCode extension to scratch my itch.
I built Go Templates Snippets for VSCode, a VSCode extension that provides snippets for writing Go template syntax in .go, .gotmpl, .html and their file associations. It has made writing template syntax easier for me.
A short video of how it works is attached to its GitHub repository and its Visual Studio Code marketplace page.
If you are a Zed user, you can copy the snippets in the snippets file and use it in your Zed editor.
Feel free to install, drop a review and leave a star!
Cheers!
Top comments (0)