[style]add IntelliJ code style xml (#9438)

This commit is contained in:
morrySnow
2022-05-08 06:41:46 +08:00
committed by GitHub
parent 68fae88b36
commit 181aa1b4a9
3 changed files with 97 additions and 2 deletions

View File

@ -58,6 +58,6 @@ Click the plus sign under Configuration File, select `Use a local Checkstyle fil
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.
Go to `Preferences->Editor->Code Style->Java` click the config sign and select `Import Scheme`,select `IntelliJ IDEA code style XML`,and select the `build-support/IntelliJ-code-format.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.