GoLand 2019.3 Help

Move Identifier Dialog

Refactor | Move
F6


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

Item

Description

Declarations

Specify declarations that you want to move along with the identifier. When you move an identifier that has a related comment section, the move refactoring moves the comment section along with the identifier.

To directory

Specify the directory that will store the selected identifiers.

To file

Specify a name of a package that will store the selected identifiers.

To package

Specify a name of a package that will store the selected identifiers.

Refactor

Click the button to start the move refactoring.

Preview

Click the button to preview all the changes that you are about to perform in the Find tool window.

Cancel

Click the button to cancel the move refactoring.

Last modified: 23 March 2020