Setup automatic code formatter using the Google Java Style#386
Setup automatic code formatter using the Google Java Style#386featurecat merged 3 commits intofeaturecat:nextfrom
Conversation
351583a to
4315383
Compare
|
@featurecat @zsalch What do you think? |
|
useful, how does it get set up? whenever programmers compile the program, it runs? |
|
Yes |
|
so cool!! I'll check it in then later today I'll start drafting a release for lizzie 0.6. any concerns? also I don't know why the PR for new texture was closed but I'm just going to merge the new textures from there. |
|
@featurecat I think we've been merging things PR a bit too eagerly, for instance here I introduced a couple of bugs (such as using |
|
@OlivierBlanvillain |
|
sounds good sorry for checking in too quickly. I'll let you check in more things in the short term. |
mvn compilenow automatically reformats the entire codebase. They are also pugins available for Eclipse & IntelliJ, see https://github.com/google/google-java-format.This PR is best reviewed commit by commit given that the 2nd one is an auto generated diff. The 3rd commit does some very light refactoring to make the code fit nicely in the 100 line width limit enforced by the formatter.