Move an element declaration to another package or file
To perform the move refactoring, select the identifier that you want to refactor and press &shortcut:Move;. In the Move dialog, select all the necessary declarations that you want to move along with the identifier. Specify a path to the target directory, a filename, and a package name.