Skip to content
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

Saving documents is extremely slow on windows #1679

Open
ilmax opened this issue Jan 26, 2024 · 2 comments
Open

Saving documents is extremely slow on windows #1679

ilmax opened this issue Jan 26, 2024 · 2 comments
Labels
performance Gotta go fast

Comments

@ilmax
Copy link

ilmax commented Jan 26, 2024

Extension Version

v2.29.3

VS Code Version

Version: 1.85.2 (user setup)
Commit: 8b3775030ed1a69b13e4f4c628c612102e30a681
Date: 2024-01-18T06:40:10.514Z
Electron: 25.9.7
ElectronBuildId: 26354273
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.22621

Operating System

Edition Windows 11 Pro Version 22H2 OS build 22621.3007

Terraform Version

Terraform v1.7.0 on windows_amd64

Behavior

When editing a file and pressing Ctrl+S to save file changes, the following dialog appears
image
preventing the file to be saved until such dialog disappears.

Steps to Reproduce

Any modification (e.g. add an empty line to a tf file) followed by a save

Terraform Configuration

No response

Project Structure

No response

Gist

No response

Anything Else?

Just for the record, running find . *.tf | wc -l returns 2358.

References

No response

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
@ilmax ilmax added the performance Gotta go fast label Jan 26, 2024
@shinebayar-g
Copy link

Not only on Windows, MacOS as well. It's taking 20 seconds to save a file. 🤦

@scott-doyland-burrows
Copy link

scott-doyland-burrows commented Feb 14, 2024

Same here. The extension often seemed to get bogged down, especially if there were a lot of nested modules pulled in after a terraform init.

But it is getting worse. Sometimes it can take 60secs to format and save a file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Gotta go fast
Projects
None yet
Development

No branches or pull requests

3 participants