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
Throughout past years we received numerous reports about "not working formatting". With a little bit of eye twitching, they can be roughly divided in two buckets:
VS Code related problems to either settings or extension conflicts
Terraform CLI related problems
missing or misconfigured entry in $PATH
Terraform not installed at all
Terraform "hidden" behind wrappers such as tfenv and other version managers, which return unexpected output from terraform version when the given TF version isn't already installed
This issue focuses on the second bucket which is more within our control.
Consider re-implementing terraform fmt as part of the language server, to reduce the "number of moving parts" and make formatting work out of the box for users.
The text was updated successfully, but these errors were encountered:
Context
Throughout past years we received numerous reports about "not working formatting". With a little bit of eye twitching, they can be roughly divided in two buckets:
$PATH
terraform version
when the given TF version isn't already installedThis issue focuses on the second bucket which is more within our control.
Past related issues:
This also happens to be a pre-requisite for #613
Proposal
Consider re-implementing
terraform fmt
as part of the language server, to reduce the "number of moving parts" and make formatting work out of the box for users.The text was updated successfully, but these errors were encountered: