-
Notifications
You must be signed in to change notification settings - Fork 524
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
Autoformatting breaks Dockerfile with heredoc #3327
Comments
Thanks! I definitely prefer fixing multiline commands myself over fixing the dockerfile in an external editor. :) |
@rcjsuen do you want to create an issue in https://github.com/rcjsuen/dockerfile-language-server-nodejs for this? Or keep it here? |
I've opened rcjsuen/dockerfile-utils#105 to track this. |
Sounds good. Since there's a workaround and we pick up the latest language server regularly I'll close this one. |
This is now released in Docker extension version 1.19.0. |
Using the new heredoc syntax in Dockerfiles used to trigger error messages in VS Code but autoformatting did not interfere with it. Unfortunately this has changed (unfortunately I cannot tell when): since some time autoformatting indents the end marker and following lines which makes it impossible to use autoformatting on save.
This dockerfile
becomes
after formatting.
The text was updated successfully, but these errors were encountered: