-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Description
Having incomplete formatting rules makes PR review process difficult.
In CONTRIBUTING only two changes are mentioned, and The rest is left to Java coding standards. Unfortunately there are differences between Eclipse and IntelliJ defaults. Moreover there are 3 build-in profiles in Eclipse : all slightly different.
Here are a few examples :
- Indentation for wrapped line :
in Eclipse all three build-in profiles set it to 2
in IntelliJ it is set to 1 ( Use non deprecated xcontenthelper #28503 (comment) ) - Eclipse : Maximum width of comments is 80 ( although most of the comments are using 140 )
- Eclipse : White spaces in Arrays initializers is different for the different Eclipse build-in profiles ( "after opening brace" and "before closing brace" ) :
new int[]{1, 2, 3};vsnew int[]{ 1, 2, 3 };
Metadata
Metadata
Assignees
Labels
No labels