-
-
Notifications
You must be signed in to change notification settings - Fork 510
Open
Labels
bugSomething isn't workingSomething isn't workingtriage-pendingAwaiting initial triageAwaiting initial triage
Description
Preflight Checklist
- I have read the troubleshooting guide
- I have searched existing issues and this is not a duplicate
- This is a bug with the VS Code extension, not with how Prettier formats code
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtriage-pendingAwaiting initial triageAwaiting initial triage