GoLand 2025.2 Help

Move Identifier dialog

You can move source code sections to another package or a file.

Item

Description

Declarations

Select the declarations you want to move along with the identifier. If the identifier has an associated comment section, the refactoring will move the comment section as well.

To directory

Specify the directory where the selected identifiers will be stored.

To file

Specify the name of the file where the selected identifiers will be stored.

To package

Specify the name of the package where the selected identifiers will be stored.

Refactor

Click this button to start the move refactoring.

Preview

Click this button to preview all changes in the Find tool window before applying them.

Cancel

Click this button to cancel the move refactoring.

03 September 2025