GoLand 2021.1 Help

Move Identifier Dialog

Refactor | Move
F6

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

ItemDescription
DeclarationsSpecify 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 directorySpecify the directory that will store the selected identifiers.
To fileSpecify a name of a package that will store the selected identifiers.
To packageSpecify a name of a package that will store the selected identifiers.
RefactorClick the button to start the move refactoring.
PreviewClick the button to preview all the changes that you are about to perform in the Find tool window.
CancelClick the button to cancel the move refactoring.
Last modified: 08 March 2021