vscode-go-template icon indicating copy to clipboard operation
vscode-go-template copied to clipboard

No syntax highlighting in files that start with {{- /* Go Template */ -}}

Open danny-does-stuff opened this issue 4 years ago • 3 comments

As the title says, I am not getting syntax highlighting in files that start with the suggested Go Template comment. I tried both {{- /* Go Template */ -}} and {{- /* Go Template file */ -}} which are both suggested in the readme, but neither seemed to work.

I'm happy to troubleshoot with you if needed

danny-does-stuff avatar Sep 30 '20 15:09 danny-does-stuff

Currently, this only works with files that VSCode cannot recognize: file without extension name or file with any extension name that not registered in VSCode.

jinliming2 avatar Oct 02 '20 13:10 jinliming2

Alright thanks for the response!

danny-does-stuff avatar Oct 02 '20 14:10 danny-does-stuff

@dannyharding10 You can refer to alternatives: https://github.com/jinliming2/vscode-go-template/issues/3#issuecomment-756150305

jinliming2 avatar Jan 07 '21 14:01 jinliming2