Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] helm: Add support for gotemplate comments #1243

Open
cornfeedhobo opened this issue Jan 15, 2024 · 1 comment
Open

[feature request] helm: Add support for gotemplate comments #1243

cornfeedhobo opened this issue Jan 15, 2024 · 1 comment

Comments

@cornfeedhobo
Copy link

When working on helm templates, it would be amazing if the vscode's builtin comment toggle system was adjusted to support gotemplate comments, {{/* ... */}}.

@cornfeedhobo
Copy link
Author

It looks like there is already an attempt to support this, but it's broken. I don't know why no one has raised this before...

changing language-configuration.json's comment section to only read

    "comments": {
        // comments applicable to tpl files.
        "blockComment": [ "{{- /*", "*/ }}" ]
    },

fixes all the problems with toggling lines and blocks

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

No branches or pull requests

1 participant