[doc] Implement java-format-code.md for IDEA (#9349)
This commit is contained in:
@ -54,6 +54,10 @@ 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.
|
||||
Click the plus sign under Configuration File, select `Use a local Checkstyle file`, and select the `fe/check/checkstyle/checkstyle.xml` file.
|
||||
|
||||
The automatic formatting function of `IDEA` is also recommended.
|
||||
|
||||
Go to `Preferences->Editor->Code Style->Java` click the config sign and select `Import Scheme`,select `CheckStyle Configuration`,and select the `fe/check/checkstyle/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