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

ItemDescription
Only VCS changed filesIf this checkbox is selected, 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: 16 April 2018

See Also

Procedures: