You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/12/07 14:21:00 UTC

[GitHub] [incubator-doris] morningman commented on a change in pull request #7306: [document] add java formatter in doc

morningman commented on a change in pull request #7306:
URL: https://github.com/apache/incubator-doris/pull/7306#discussion_r764039692



##########
File path: docs/zh-CN/developer-guide/java-format-code.md
##########
@@ -45,3 +45,14 @@ javax
 
 * 禁止使用 `import *`
 * 禁止使用 `import static`
+
+## Checkstyle
+
+现在的 `CI` 之中会有 `formatter-check` 进行代码格式化检测。
+
+如果使用 `IDEA` 进行 Java 开发,请在设置中安装 `Checkstyle-IDEA` 插件。
+
+在 `Tools->Checkstyle` 的 `Configuration File` 里点击 `Use a local Checkstyle file`,选择项目的 `checkstyle.xml` 文件。

Review comment:
       ```suggestion
   在 `Tools->Checkstyle` 的 `Configuration File` 里点击 `Use a local Checkstyle file`,选择项目的 `fe/checkstyle.xml` 文件。
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org