The following preferences define 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 |
Add |
Adds a package name prefix to the import order list. In the resulting dialog, type a package name or package name prefix. |
n/a |
Remove |
Removes a package name prefix 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 |
Number of qualified imports before * is used |
The number of fully-qualified import statements that are allowed from the same package before <package>.* 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. |
Off |