add code format file for IDE such as eclipse and intellij
How to import:
Open Eclipse->Windows->Preferences->Java->Code Style->Formatter.  And click the import button right side to import the codeFormat.xml

How to format the code
Select the code, and press CTR + SHIFT +F