The
Java > Code Style > Organize Imports preference page
defines how the Organize Imports command generates the import statements in a compilation unit.
|
Option |
Description |
Default |
|---|---|---|
|
Import order list |
This list of prefixes shows the sequential order for packages imported into a Java compilation unit. Each entry defines a block. Different blocks are separated by a spacer line. |
java |
|
New... |
Adds a package name prefix to the import order list. In the resulting dialog, type a package name or package name prefix. |
n/a |
|
New Static... |
Adds a package name prefix to the import order list. In the resulting dialog, type a package name or package name prefix. |
n/a |
|
Edit... |
Edits the currently selected entry in the import order list. In the resulting dialog, type a package name or package name prefix. |
n/a |
|
Remove |
Removes the currently selected entry from the import order list. |
n/a |
|
Up |
Moves the selected package name prefix up in the import order list. |
n/a |
|
Down |
Moves the selected package name prefix down in the import order list. |
n/a |
|
Import... |
Loads a list of package name prefixes from a file. |
n/a |
|
Export... |
Saves the list of package name prefixes to a file. |
n/a |
|
Number of imports needed for .* |
The number of import statements that are allowed for types in the same package before <package>.* is used. |
99 |
|
Number of static imports needed for .* |
The number of static import statements that are allowed for static members of the same type before type is used. |
99 |
|
Do not create imports for types starting with a lower case letter |
If enabled, types starting with a lowercase letter are not imported. |
On |