Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[che-dev] Update of the java formatter plugin

Hello,

I will update the java formatter used in Eclipse Che to the version 2.0.0
https://github.com/eclipse/che-parent/pull/33

It includes fixes/enhancement requested by che developers
If you have an invalid formatted file, it will be reported now with output like:
[ERROR] Found 1 non-complying files, failing build
[ERROR] Non complying file: ..../wsmaster/che-core-api-workspace/src/main/java/org/eclipse/che/api/environment/server/DefaultServicesStartStrategy.java
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

It includes as well a new version of the formatting rules : 1.4
https://github.com/google/google-java-format/releases/tag/google-java-format-1.4

Due to the change of formatting rules, you will have to update plugins (if you're using some) to be compliant with 1.4 level


Regards,

Florent




Back to the top