Prettier Run on save doesn't work
Hello, I'm usining prettier on WebStorm
And i checked Run on save and after i save the file it doesnt reformat / format anything.
Upload id: 2025_09_04_CqD2JygBr1Nv2J1zZ4wAc8 (file: image.png)
What did i do wrong?
Thanks for the advice!
Please sign in to leave a comment.
Does it work if you specify the path to
prettierpackage explicitly? In the Prettier settings, change the configuration to Manual and then use the ellipsis button in the Prettier package: field to choose the appropriate package.I had it fixed, but on PC reinstall it does not work again. I think the reason is the prettier doesnt work in src/ folder.
All folders are usually processed unless they are added to
.prettierignore.@hot games You may need to double check that Prettier is selected as the Default Formatter in WebStorm, as enabling “Run on Save” without the correct formatter configuration will not work.