Skip to content

Stuck on Running 'HashiCorp Terraform' Formatter #1876

@shinebayar-g

Description

@shinebayar-g

Extension Version

v2.33.0

VS Code Version

Version: 1.95.2 (Universal)
Commit: e8653663e8840adaf45af01eab5c627a5af81807
Date: 2024-11-07T11:07:22.054Z
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.1.0

Operating System

24.1.0 Darwin Kernel Version 24.1.0

Terraform Version

Terraform v1.9.8 on darwin_arm64

Steps to Reproduce

We have a few thousand resources in our state and the extension just never works reliably. I have "editor.formatOnSave": true, enabled and whenever I save a file it just hang on Running 'HashiCorp Terraform' Formatter

image

image

Expected Behavior

VSCode Extension works reliably

Actual Behavior

It just hangs

Terraform Configuration

No response

Project Structure

No response

Gist

No response

Anything Else?

Zed Terraform extension works fine and doesn't have this problem. I think it's not a language server issue at least.

Workarounds

No response

References

No response

Help Wanted

  • I'm interested in contributing a fix myself

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingperformanceGotta go fast

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions