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

Commenting out code working incorrectly /* {{ $aa.foo }} */

Open khanakia opened this issue 3 years ago • 1 comments

When i try to comment out this code

{{ $aa.foo }}

it makes it like this

/* {{ $aa.foo }} */

Correct format should be

{{/* $aa.foo  */}}

khanakia avatar Nov 28 '21 22:11 khanakia

I have the same problem, and here is my quick and dirty "fix" in file language-configuration.json change "blockComment": ["/*", "*/"] to "blockComment": ["{{/*", "*/}}"]

StefanIGit avatar Jun 07 '24 06:06 StefanIGit