IntelliJ IDEA 2017.2 Help

Optimize Imports Dialog

Code | Optimize Imports


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.

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.
Last modified: 29 November 2017

See Also