How to add comments in a template?

That’s where workspace settings come in handy. In your project’s root create a folder .vscode with a file called settings.json. To associate *.html files with gohtml add:

{
  "files.associations": {
    "*.html": "gohtml"
  }
}
3 Likes