GoLand 2019.1 Help

Optimize Imports Dialog

Code | Optimize Imports

Ctrl+Alt+O

This dialog appears when you select the Optimize Imports action on the directory. In this dialog, specify where you want GoLand to remove the unused import statements from, in order to optimize the import procedure.

Item

Description

Only VCS changed files

If this checkbox is selected, optimizing import will affect only the files that have been changed locally, but not yet committed to the repository.
This checkbox is only available for the files under version control.

Last modified: 17 May 2019