-
Notifications
You must be signed in to change notification settings - Fork 522
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
Highlight is broken in heredocs
regions of the docker file
#4188
Comments
@romintomasetti Sorry, could you explain how hadolint provides syntax highlighting? It is a tool for linting Dockerfiles and not about syntax highlighting. |
@romintomasetti That is a (positive) side effect of the FROM alpine
COPY <<EOF test.go
// this is a comment
EOF If you had the above Dockerfile where |
"[dockerfile]": {
"editor.semanticHighlighting.enabled": false
} If you would like to disable semantic highlighting, you can put the snippet above in your |
@bwateratmsft I think we can consider this to be a duplicate of #4183. |
When using
heredocs
sections in a Docker file, this extension does not seem to correctly highlight.See the below screenshot. The comment is not colorized.
However, other linters I've tried manage to do it correctly. I'll mention https://github.com/hadolint/hadolint for instance.
Is there anything I can do to help you with this?
The text was updated successfully, but these errors were encountered: