From ccb3b8a5a972d71f26eda2cc11ef3ed5655372ec Mon Sep 17 00:00:00 2001
From: Aleksandr Ivanov
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
+ 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):
-
+
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
+ Then in the tree go to: Editor->Code Style->Java, open Import tab (follow numbers on a
picture) and apply settings highlighted:
-
+
-