1. Select File -> Preferences -> Settings (Ctrl + comma) and search form formatter
  2. Set Prettiers as Default formatter.

If above does not work:

ctrl+shift+p > Format Document With... > Configure Default Formatter... > Prettier - Code formatter

This also work with ctrl+shift+I

Answer from Miha on Stack Overflow
🌐
GitHub
github.com › prettier › prettier-vscode › issues › 3382
I have done all kinds of things but my prettier does not format on save. · Issue #3382 · prettier/prettier-vscode
April 26, 2024 - Type: Bug I installed prettier, on user I checked format on save and checked the config. Well it does not format on save I have followed all kinds of videos but it doesnot work. I think I did something wrong with the path. I even tried t...
Published   Apr 26, 2024
🌐
GitHub
github.com › microsoft › vscode › issues › 108447
Format on Save (prettier) stopped working with latest update · Issue #108447 · microsoft/vscode
October 10, 2020 - Format on Save (prettier) stopped working with the latest update Multiple time reinstalled Prettier, and checked the settings, it happened right after the update of VSCode. https://gyazo.com/f07a3b...
Published   Oct 10, 2020
🌐
Scott Sauber
scottsauber.com › 2017 › 06 › 10 › prettier-format-on-save-never-worry-about-formatting-javascript-again
Prettier + Format On Save = Never worry about formatting JavaScript again – Scott Sauber
June 12, 2021 - Your code gets fixed before it ever leaves your machine, so you […] ... What fixed it for me was ctr + shift + p and i search format document with and gives me the option and when i navigate to configure default formatter i select prettier ...
🌐
Cursor
forum.cursor.com › support › bug reports
Format on save with prettier takes eternity - Bug Reports - Cursor - Community Forum
August 30, 2024 - Just as the title suggests, when format on save is enabled I takes a long time to save files. Formatter is Prettier. As I am writing this post: Saving ‘geniusCreateCase.ts’: Running ‘Prettier - Code formatter’ Formatter is running for a good 10 minutes now.
🌐
Code with Mosh
forum.codewithmosh.com › t › prettier-no-longer-formatting-on-save › 12245
Prettier no longer formatting on save - Code with Mosh Forum
May 2, 2022 - I have had prettier for months now and it has always formatted on save and now for reason it stopped. Any ideas?
Find elsewhere
🌐
DigitalOcean
digitalocean.com › community › tutorials › how-to-format-code-with-prettier-in-visual-studio-code
Format Code with Prettier in Visual Studio Code: Setup Guide | DigitalOcean
August 1, 2025 - If Prettier is not listed in package.json, VS Code may not detect it when using workspace settings. ... Prettier works alone, but stops formatting when ESLint is enabled. ESLint shows formatting errors that Prettier doesn’t fix. Format on save stops working after ESLint is installed.
🌐
Reddit
reddit.com › r/cursor › cursor: format on save (auto prettier) not working after update?
r/cursor on Reddit: Cursor: format on save (auto prettier) not working after update?
January 17, 2026 -

In Cursor, “format on save” (auto prettier) isn’t working for me.
It was working fine until yesterday, but after updating the Cursor editor, it seems to have stopped.

What’s weird is that in VS Code, it works perfectly on the same project/settings.

Is anyone else experiencing this, or is it just me?

🌐
GitHub
github.com › prettier › prettier-vscode › issues › 290
formatOnSave is not working · Issue #290 · prettier/prettier-vscode
October 13, 2017 - After upgrade version to v1.0.0, the vscode setting formatOnSave is not working on my machine. But when I changeprettier.eslintIntegration to true, the auto-format is working. Are there some changes not listed on the Changelog between th...
Published   Dec 11, 2017
🌐
Cursor
forum.cursor.com › support › bug reports
Prettier extension's format-on-save doesn't work anymore - Bug Reports - Cursor - Community Forum
December 26, 2024 - Any idea how to fix? The inserted code is often badly indented and I don’t know about others but my personal ability to wrap my head around badly indented code is practically zero. Here is the snippet from my .vscode/se…
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 13134493544850-Reformat-On-Save-doesn-t-work
Reformat On Save doesn't work – IDEs Support (IntelliJ Platform) | JetBrains
When I try to save a file it doesn't run Prettier or ESLint, while I have this on Actions on Save: Tried it with adding a lot of extra lines to it, but NO success. If I right click in the file and click on Reformat with Prettier this does work. Of course I don't want to right click in each file after a change but this must be automatically.
🌐
TrueQ
trueq.io › q › 32
VSCode - Prettier does not format on save - TrueQ
I just ran into the problem, that I also have another AutoFormatter Extension installed for VS Code which didn't work because I specified prettier as defaultFormatter. I could resolve it with overriding the defaultFormatter for the specific filetype where I want to use the other Extension for formatting: { ... "editor.formatOnSave": true, "editor.defaultFormatter": "esbenp.prettier-vscode", "[prisma]": { "editor.defaultFormatter": "Prisma.prisma" } }Copy
🌐
SheCodes
shecodes.io › athena › 8760-troubleshooting-prettier-formatter-not-working-after-restarting-vs-code
[VS Code] - Troubleshooting Prettier Formatter Not Working After Restarting VS Code
International Women’s Week Sale ... ending on March 10th Ending in 13 hours Get Deal Get This Deal NOW ... Learn how to resolve the issue of Prettier formatter not working even after restarting Visual Studio Code with these troubleshooting tips. ... when I try to use Visual Studio Vode, I save my index.html, ...
🌐
GitHub
github.com › zed-industries › zed › issues › 8072
Prettier Format on Save Errors Swallowed · Issue #8072 · zed-industries/zed
January 12, 2024 - I've got prettier setup to format on save, but with a recent change in my repo, prettier is throwing errors. These errors are silent and are not being bubbled up for inspection anywhere in the UI. I was left wondering why formatting was no longer working until I looked at the Zed log
Published   Feb 20, 2024
🌐
GitHub
github.com › tailwindlabs › tailwindcss › discussions › 11921
Can't format on save or with my prettier extension on VS Code [Prettier Plugin] · tailwindlabs/tailwindcss · Discussion #11921
HI I only can have my classes formatted with the CLI with for example pnpm dlx prettier ./components --check or --write · But when I'm on my editor. Nothing happens except my basic prettier config of VS Code. If I hit save or format.
Author   tailwindlabs
🌐
Bobby Hadz
bobbyhadz.com › blog › fix-prettier-not-working-in-vs-code
How to fix Prettier Extension not working in VS Code | bobbyhadz
If you can't see the prettier button in the Status Bar, right-click on the Status Bar at the bottom and make sure the Prettier option is ticked. Another thing you should try is to use the Format Document action from the Command Palette: ... ...
🌐
Gleb Bahmutov
glebbahmutov.com › blog › configure-prettier-in-vscode
How to configure Prettier and VSCode | Better world by better software
April 23, 2024 - Using it from a script in package.json ... code does not change. This could be due to three issues: Make sure local workspace settings have auto-format on save enabled....