this post was submitted on 03 Apr 2025
6 points (100.0% liked)

JetBrains

250 readers
4 users here now

A community for discussion and news relating to JetBrains and its products! https://www.jetbrains.com/

Related Communities

Copyright © 2000-2024 JetBrains s.r.o. JetBrains and the JetBrains logo are registered trademarks of JetBrains s.r.o.

founded 1 year ago
MODERATORS
 

How do I get Webstorm to format with prettier on save? There's the manual "reformat with prettier" command that works like a charm, but how do I trigger it on save?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 2 days ago

In the settings it says "Prettier package not specified. But I'm using the "Automatic prettier configuration" option and it works perfectly when triggered manually through the contextual menu (right clicking).