Unable to save files when format-on-save enabled

I have Cursor and VS Code opened side-by-side. Each has the Black Formatter for python enabled to format on save.

When I save in VS Code the file saves rather quickly, applying all recommended formatting changes w/ Black.

When I save in Cursor the UI lags, the file does not save, and I get a toast stating “Saving : Running ‘Black Formatter’ Formatter” for ~30+ seconds before the file saves.

Restarting Cursor hasn’t helped.

1 Like

I have the same issue, would love to get this fixed but for prettier. Cursor is amazing but I have to keep switching back to VSCode because of this.

2 Likes

Same. Hangs on this forever:
Screenshot 2024-12-02 at 8.05.42 AM

I disable isort, then it does the same hanging on black

Same here.

Same here. I will bypass it by reloading the window. :disappointed_relieved:

Sorry about this, we’ve logged this internally to look into, so hopefully with have it fixed soon!