-
Notifications
You must be signed in to change notification settings - Fork 182
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
vsCode not formatting Terraform files #1206
Comments
Not really sure how to troubleshoot/diagnose further. |
Hi @Sneedes, Can you confirm you have set the following settings? https://github.com/hashicorp/vscode-terraform#formatting |
I think that would only apply to triggering a format on save? Regardless...updated my
Still no formatting ocurring. |
You are absolutely right, I'm sorry I missed the important part in your first comment
After more closely looking at the log, I can see that there's an RPC request hanging and other requests (including formatting) queuing after it. This could be related to some bugs we recently fixed, in particular hashicorp/terraform-ls#1006 Can you try disabling the We will be rolling out what's in preview into stable very soon, likely next week or so. |
Switching to the HashiCorp.terraform-preview version of the Extension worked for me. |
Thanks for verifying - we will close this with 2.24.0 release then, which will become available under the existing Marketplace entry |
Version 2.24.0 has been released today. Please let us know if it resolved this issue for you. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Issue Description
Format Document no longer working for TF files.
Environment Information
Terraform Information
Version: 1.0.8
Platform: linux_amd64
Outdated: false
Visual Studio Code
Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)
Extension Logs
The text was updated successfully, but these errors were encountered: