Closed TheBusyBiscuit closed 3 years ago
Okay i love this feature are there any other java formatting work flows like auto message when crossing 100char line and other checks around java formatting style
The action simply runs the "Google Java Formatter" jar from Google itself. It can do full auto-formatting completely inline with the standard. However that may not always be desirable, hence why I only left it in "fix-imports-only" for now. But you can also check the args here: https://github.com/axel-op/googlejavaformat-action#args
Short Description
This adds an imports fix workflow (according to the Google Java Formatting Standard) which formats imports and removes any unused ones. Through testing purposes this also cleans up imports, you are welcome ;)
Checklist
Nonnull
andNullable
annotations to my methods to indicate their behaviour for null values