PhpStorm 2017.3 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 PhpStorm to remove unused import statements from, in order to optimize the import procedure.

ItemDescription
Only VCS changed filesIf this checkbox is selected, then reformatting will apply only to the files that have been changed locally, but not yet checked in to the repository.
This checkbox is only available for the files under version control.
Last modified: 29 March 2018

See Also