This is an automated email from the ASF dual-hosted git repository.

russellspitzer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git


The following commit(s) were added to refs/heads/master by this push:
     new c579f0b  Docs: Describe how to configure Code formatter for IntelliJ 
IDEA (#2766)
c579f0b is described below

commit c579f0b5a8d3f1bf45a20139e7f0188de9cf7eab
Author: Eduard Tudenhöfner <[email protected]>
AuthorDate: Thu Jul 1 18:38:36 2021 +0200

    Docs: Describe how to configure Code formatter for IntelliJ IDEA (#2766)
---
 site/docs/community.md | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/site/docs/community.md b/site/docs/community.md
index 248b845..372a2c0 100644
--- a/site/docs/community.md
+++ b/site/docs/community.md
@@ -73,3 +73,14 @@ Iceberg has four mailing lists:
     - [Archive](https://lists.apache.org/[email protected])
 * **Private**: <[email protected]> -- private list for the PMC to 
discuss sensitive issues related to the health of the project
     - [Archive](https://lists.apache.org/[email protected])
+
+
+## Setting up IDE and Code Style
+
+### Configuring Code Formatter for IntelliJ IDEA
+
+In the **Settings/Preferences** dialog go to **Editor > Code Style > Java**. 
Click on the gear wheel and select **Import Scheme** to import IntelliJ IDEA 
XML code style settings.
+Point to 
[intellij-java-palantir-style.xml](../../.baseline/idea/intellij-java-palantir-style.xml)
 and hit **OK** (you might need to enable **Show Hidden Files and Directories** 
in the dialog). The code itself can then be formatted via **Code > Reformat 
Code**.
+
+See also the IntelliJ [Code Style 
docs](https://www.jetbrains.com/help/idea/copying-code-style-settings.html) and 
[Reformat Code 
docs](https://www.jetbrains.com/help/idea/reformat-and-rearrange-code.html) for 
additional details.
+

Reply via email to