+ 5

Please help me with VS code🙏🌹🌹🙏

I've never been able to use format on save for prettier extension since updating my editor, VS code. Any solution will be welcomed 🙏

15th Oct 2020, 1:32 PM
Saleh Ghazimoradi
Saleh Ghazimoradi - avatar
5 Respostas
+ 4
maf I have done it several times!!! Unfortunately it didn't work! I have no idea what the heck wrong is with it!
15th Oct 2020, 3:22 PM
Saleh Ghazimoradi
Saleh Ghazimoradi - avatar
+ 4
maf Oh, what a relief! It was something wrong with the file and prettier! It's the first time I've faced with such a bug! By the way, thank you for helping🙏🌹🌹🙏
15th Oct 2020, 4:11 PM
Saleh Ghazimoradi
Saleh Ghazimoradi - avatar
+ 3
press ctrl + , (or go to settings manually by clicking on File on navbar) Search "format", you will get "format on save" option, just open this option.
15th Oct 2020, 2:09 PM
maf
maf - avatar
+ 2
There are two settings (one for user, and one for workspace), try switching on "format on save" in both settings. You would find two tabs on setting page called "user" and "workspace"
15th Oct 2020, 3:51 PM
maf
maf - avatar
+ 2
15th Oct 2020, 5:24 PM
maf
maf - avatar