[docs] add java formatter in doc (#7306)
Now there isn't the guidance of java format. We should add it in doc.
This commit is contained in:
@ -45,3 +45,15 @@ javax
|
||||
|
||||
* Do not use `import *`
|
||||
* Do not use `import static`
|
||||
|
||||
## Checkstyle
|
||||
|
||||
Now we have `formatter-check` in `CI` to check the code format.
|
||||
|
||||
If you use `IDEA` to develop Java code, please install `Checkstyle-IDEA` plugin.
|
||||
|
||||
Setting the `checkstyle.xml` file in `Tools->Checkstyle`.
|
||||
|
||||
Click the plus sign under Configuration File, Select `Use a local Checkstyle file`, and select the `fe/checkstyle.xml` file.
|
||||
|
||||
If you use VS Code to develop Java code, please install `Checkstyle for Java` plugin, and config according to the [document](https://code.visualstudio.com/docs/java/java-linting) and the picture.
|
||||
|
||||
Reference in New Issue
Block a user