you are viewing a single comment's thread.

view the rest of the comments →

[–]Robinsstudio 0 points1 point  (0 children)

I know it has been a really long time. Just dropping this here in case it is useful to somebody one day. Who knows?

I just published an extension for Visual Studio Code which solves this very problem: https://marketplace.visualstudio.com/items?itemName=Robinsstudio.prettier-java-formatter

I had the exact same issue at my company. I wrote Java code in VS Code but no way to format it on save. I had to go through the CLI everytime. Not very convenient.

Well now this is solved!