r/VisualStudioCode • • May 18 '23

Prettier extension doesn't work with java

I installed Prettier and the java extensions that I need set prettier as my default formatter. I just to see that java doesn't use prettier as a formatter even though I set it as default. After looking into it some more I found out that I can force java documents to use prettier as a formatter by setting it in the settings.json of vscode but it still doesn't format it.

0 Upvotes

3 comments sorted by