You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw that this plugin here is using the google-java-format dependency, which uses the google java styleguide too.
So i tought that both formatter (this plugin and the vscode formatter) would format my code the same way.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey, i'm using vscode for working with java.
I have installed this formatter plugin to autoformat the when comitting. But i also want to format code while i'm working.
So i told vscode to format my code against this ruleset: https://raw.githubusercontent.com/google/styleguide/gh-pages/eclipse-java-google-style.xml
I saw that this plugin here is using the
google-java-format
dependency, which uses the google java styleguide too.So i tought that both formatter (this plugin and the vscode formatter) would format my code the same way.
But no, they are different.
So my question is, what ruleset this plugin use?
Beta Was this translation helpful? Give feedback.
All reactions