# Organize Imports

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 javax org com
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... | Change the name of an existing package name prefix. 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
Import... | Load a list of package name prefixes from a file. | n/a
Export... | Save the list of package name prefixes to a file. | n/a
Number of imports needed for .* | 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. | On

Source actions