diff --git a/etc/codestyle/README.md b/etc/codestyle/README.md new file mode 100644 index 00000000000..6602c6cebef --- /dev/null +++ b/etc/codestyle/README.md @@ -0,0 +1,12 @@ +# Helidon Codestyle + +## IntelliJ Idea + +To import codestyle: +1. Go to settings +2. Editor/Code Style/Java +3. Next to "Scheme" select the configuration icon +4. Choose "Import Scheme" and select "IntelliJ IDEA code style XML" +5. Choose the `idea-code-style.xml` file + +Now when reformatting, choose to also optimize imports and rearrange code. diff --git a/etc/codestyle/idea-code-style.xml b/etc/codestyle/idea-code-style.xml new file mode 100644 index 00000000000..bc424247755 --- /dev/null +++ b/etc/codestyle/idea-code-style.xml @@ -0,0 +1,117 @@ + + + + + \ No newline at end of file