You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RUN is not the only Dockerfile directive that supports multiline statements with backslash (\). For example, ARG and potentially other directives also support this syntax. However, the Microsoft Docker VSCode plugin struggles to highlight multiline ARG instructions.
ARG supports declaring multiple variables in one instruction:
This could be a problem in the built-in vscode.docker extension which provides basic syntax highlighting. @aep-sunlife if you disable the Docker extension, which would leave only the built-in vscode.docker extension active, does the syntax highlighting look correct?
This could be a problem in the built-in vscode.docker extension which provides basic syntax highlighting. @aep-sunlife if you disable the Docker extension, which would leave only the built-in vscode.docker extension active, does the syntax highlighting look correct?
What is the difference "built-in vscode.docker extension" vs "the Docker extension"? 🤔
Did you mean the default Dockerfile TextMate grammar that comes pre-installed with Visual Studio Code?
RUN is not the only Dockerfile directive that supports multiline statements with backslash (
\
). For example,ARG
and potentially other directives also support this syntax. However, the Microsoft Docker VSCode plugin struggles to highlight multiline ARG instructions.ARG
supports declaring multiple variables in one instruction:https://docs.docker.com/reference/dockerfile/#arg
However, the plugin doesn't consistently highlight the bindings in the same color.
Example:
ARG http_proxy_host \ https_proxy_host \ http_proxy_port \ https_proxy_port \ no_proxy
The text was updated successfully, but these errors were encountered: