Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Add templates comments {{/* */}} #90

Open
mishak87 opened this issue Mar 11, 2016 · 1 comment
Open

Add templates comments {{/* */}} #90

mishak87 opened this issue Mar 11, 2016 · 1 comment

Comments

@mishak87
Copy link

Commenting text in template results in /*<text>*/ it should be {{/*<text>*/}}.

@Saichovsky
Copy link

Saichovsky commented Feb 11, 2022

This issue remains unfixed till this day. I came here to create an issue for the same problem.

To reproduce the problem, open a Go Template and try to comment out a line ( e.g. {{- example line }} ) using the Ctrl + / combination, the result is supposed to look like this:

{{- /* example line */}}

but what you get instead, looks like this:

/* {{- example line }} */

which is incorrect syntax.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants