diff --git a/src/site/resources/images/gui_screenshot_organize_imports_eclipse.jpg b/src/site/resources/images/gui_screenshot_organize_imports_eclipse.jpg new file mode 100644 index 000000000..7586fc106 Binary files /dev/null and b/src/site/resources/images/gui_screenshot_organize_imports_eclipse.jpg differ diff --git a/src/site/resources/images/gui_screenshot_organize_imports_idea.jpg b/src/site/resources/images/gui_screenshot_organize_imports_idea.jpg new file mode 100644 index 000000000..a191a857f Binary files /dev/null and b/src/site/resources/images/gui_screenshot_organize_imports_idea.jpg differ diff --git a/src/site/resources/images/gui_screenshot_organize_imports_netbeans.jpg b/src/site/resources/images/gui_screenshot_organize_imports_netbeans.jpg new file mode 100644 index 000000000..20a5af883 Binary files /dev/null and b/src/site/resources/images/gui_screenshot_organize_imports_netbeans.jpg differ diff --git a/src/xdocs/eclipse.xml b/src/xdocs/eclipse.xml index 417846b66..955841ebc 100644 --- a/src/xdocs/eclipse.xml +++ b/src/xdocs/eclipse.xml @@ -19,6 +19,13 @@
+
Select File > Import > Maven > Existing Maven Projects
@@ -43,5 +50,19 @@
and F8 (Resume)
+ One of the Checkstyle checks we run on our own code require sertain order of import
+ statements. Few changes in IDE settings are required to help your IDE do it automatically.
+ To change settings of "Organize Imports" feature (Kepler, Luna & Mars, other versions
+ are likely to work the same way), please go to Window -> Preferences in menu.
+ In Preferences window select Java->Code Style->Organize Imports (follow numbers on a picture).
+ Default configuration should look as following (you can also try Restore Defaults button):
+
+
+
If no project is currently open in IntelliJ IDEA, click Import Project on the @@ -48,5 +55,18 @@ F7 (Step Into), Alt+F9 (Run to Cursor)
+ One of the Checkstyle checks we run on our own code require sertain order of import
+ statements. Few changes in IDE settings are required to help your IDE do it automatically.
+ To change formatter settings please go to File->Settings in menu.
+ Then in the tree go to: Editor->Code Style->Java, open Import tab (follow numbers on a
+ picture) and apply settings highlighted:
+
+
+
Select File > New Project > Maven > Project with existing POM
@@ -45,5 +52,18 @@
Shift+F8 (Step Over Expression), Step Over (F8)
+ One of the Checkstyle checks we run on our own code require sertain order of import
+ statements. Few changes in IDE settings are required to help your IDE do it automatically.
+ To change formatter settings please go to Tools->Options in menu.
+ On Options page go to Editor->Formatting->Java->Imports (follow numbers on a
+ picture) and apply settings highlighted:
+
+
+