Help me with prettier - its not so easy and obviously as you think
in sort I use codesandbox and I know to set up settings in some project I can create folder .vscode in root directory and setting.json inside this folder
But my settings doesn't work I already chekced everything related to prettier I checked this https://stackoverflow.com/questions/52586965/why-does-prettier-not-format-code-in-vs-code and everything is fine on my side - but format on save and .prettierrc.yaml doesn't work
Its question can contain a lot of Q&A and take a lot of time - so I ask you about DM me and help via voice
Stack Overflow
Why does Prettier not format code in VS Code?
In my Nuxt application where ESlint and Prettier are installed and enabled, I switched to Visual Studio Code.
When I open a .vue file and press CMD+ Shift + P and choose Format Document, my file d...
2 Replies
Do you have prettier extension installed? If you don't please install it. And if you do or if you already have try
ctr + shift + P
it will display a search input at the top, type format document with
and select prettier as your formatter.
This may help.Yes - I have installed prettier extention
I have pretteir as default formatter
Solved - I needed to run
and set prettierrc as default formatter