This is an automated email from the ASF dual-hosted git repository. lehmi pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/pdfbox-docs.git
The following commit(s) were added to refs/heads/master by this push: new 619c4d0d Add a how-to section for IntelliJ IDEA users new 38ab7509 Merge pull request #11 from Toparvion/code-format-for-intellij 619c4d0d is described below commit 619c4d0d3482e7b3916749643cf63035a8a2801f Author: Toparvion <toparv...@gmx.com> AuthorDate: Sun Jan 22 15:37:38 2023 +0700 Add a how-to section for IntelliJ IDEA users --- content/codingconventions.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/content/codingconventions.md b/content/codingconventions.md index b7347f58..ad154ffd 100644 --- a/content/codingconventions.md +++ b/content/codingconventions.md @@ -139,9 +139,11 @@ public class Foo extends Bar ## Eclipse Formatter -Eclipse users may download this preferences file: pdfbox-eclipse-formatter.xml and import this into Eclipse. -(Window->Preferences, go to Java->Code Style->Formatter and click "Import..."). -Once you have done this you can reformat your code by using Source->Format (Ctrl+Shift+F). +**Eclipse** users may download this preferences file: `pdfbox-eclipse-formatter.xml` and import this into Eclipse. +(*Window->Preferences*, go to *Java->Code Style->Formatter* and click "*Import...*"). +Once you have done this you can reformat your code by using *Source->Format* (`Ctrl+Shift+F`). Also note that Eclipse will automatically format your import statements appropriately when -you invoke Source -> Organize Imports (Ctrl+Shift+O). +you invoke *Source -> Organize Imports* (`Ctrl+Shift+O`). + +**IntelliJ IDEA** users may leverage the same format preferences by importing them into [Adapter for Eclipse Code Formatter](https://plugins.jetbrains.com/plugin/6546-adapter-for-eclipse-code-formatter) plugin. To make the code conform to the format rules, run *Code -> Reformat Code* command (`Ctrl+Alt+L`) and/or make sure to set the same named flag in *Commit* dialog.