IntelliJ IDEA 2016.2 Help

Optimize Imports Dialog

Code | Optimize Imports

Ctrl+Alt+O

Note that this dialog box appears when you select a Optimize Imports action on the directory.


In this dialog box, specify where you want IntelliJ IDEA to remove unused import statements from, in order to optimize the import procedure.

ItemDescription
Only VCS changed filesIf this check box is selected, then reformatting will apply only to the files that have been changed locally, but not yet checked in to the repository.
This check box is only available for the files under version control.

See Also

Last modified: 8 August 2016