Preflight Checklist
Issue Summary
Issue
Format on save can take minutes to save in vscode. This issue keeps getting closed without being fixed. Unable to repro != issue does not exist.
This seems to not be an issue when first restarting VsCode but after a while save stalls, so possible resource leak maybe? May also be macOS specific. I have not had this happen on other platforms.
Fixes
Uninstall prettier vscode extension.
See Also
Reproduction Repository
https://github.com/mdegans/misanthropic
Steps to Reproduce
- Install VsCode extension (on macOS, in my case)
- Use VsCode for a few hours
- Try to save. Doesn't seem to matter what format. In my case prettier usually gets in the way of rustfmt.
Expected Behavior
The file gets formatted more or less immediately
Actual Behavior
Save hangs, blocking many things
Operating System
macOS
IDE
VSCode
IDE Version
does not matter
Prettier Extension Version
for a year at least
Prettier Version
3.8.1
Prettier Extension Logs
Uninstalled problematic extension. Logs gone.
Prettier Configuration
Preflight Checklist
Issue Summary
Issue
Format on save can take minutes to save in vscode. This issue keeps getting closed without being fixed. Unable to repro != issue does not exist.
This seems to not be an issue when first restarting VsCode but after a while save stalls, so possible resource leak maybe? May also be macOS specific. I have not had this happen on other platforms.
Fixes
Uninstall prettier vscode extension.
See Also
save Participants#1253Reproduction Repository
https://github.com/mdegans/misanthropic
Steps to Reproduce
Expected Behavior
The file gets formatted more or less immediately
Actual Behavior
Save hangs, blocking many things
Operating System
macOS
IDE
VSCode
IDE Version
does not matter
Prettier Extension Version
for a year at least
Prettier Version
3.8.1
Prettier Extension Logs
Prettier Configuration