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
Hi @danny-huang-openfind
As long as the files are suffixed with *.hcl - and, obviously, the language is HCL-based - which seems to be the case for the Docker Bake build files, then it's supported.
It's worth noting though that the features this extension provides are more limited compared to what you might expect. It provides primarily static syntax highlighting and nothing else and the limited feature set is mostly intentional.
We might add some product-agnostic formatting as per #98
Features like completion, hover, go-to-definition etc. only make sense for the languages built on top of HCL, rather than HCL itself. It is therefore expected that these would be implemented as part of dedicated VS Code extensions, hence we maintain the Terraform extension intentionally separately. So applying the same logic, someone could build an extension dedicated to Docker Bake which provides those features. We do not intend to do that ourselves but we plan to maintain some libraries to help with that and make it easier to do so. Some early efforts are in https://github.com/hashicorp/hcl-lang and https://github.com/hashicorp/syntax
Just a quick ask, is this extension support to the format of which docker buildx's configuration is using?
https://docs.docker.com/build/bake/configuring-build/
Since this extension looks like the most popular extension for HCL files on vscode, I hope it can support to buildx.
The text was updated successfully, but these errors were encountered: