-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move to Google Java Formatter #6046
Comments
I like the idea. Just importing the Eclipse settings in IntelliJ does not produce the correct codestyle. IMO the maven plugin applied once should reformat all existing code and it should be added as one commit. SAT needs to be adapted, too. |
@J-N-K what needs to happen with SAT? |
Sounds pretty conflicting with openhab/openhab-core#935. Before changing the format of ALL our code, I'd very much prefer to get at least one IDE setup fully working and documented, so that people are able to work without interruption... |
Agree on both counts. That is probably the better path forward as it would not be yet another large change. |
One of the benefits of moving to maven/bnd is that developers are now free to use whatever IDE they feel most productive in. For some, that is not eclipse.
Historically, to ensure consistent code formatting eclipse code formatter settings were shipped with the official IDE. While that worked well when we were locked into a single IDE, I don't believe that will continue to work well in a multi-IDE universe.
I propose that we move to the Google Java Formatter which enforces the Google Java Style for the following reasons:
Issues/Discussion topics:
The text was updated successfully, but these errors were encountered: