IntelliJ IDEA 2017.3 Help

Move Package Dialog

Refactor | Move
F6

ItemDescription
Select refactoringSpecify which action you want to perform: move package to another package, move directory to another source root, or to another directory.
This dialog box opens when Move package to another package option has been selected.
To package Specify the destination package. Click the ellipsis button, and select the target package in the Choose Destination Package dialog that shows a tree view of all packages within the project.
Search in comments and stringsSelect this option to apply the changes to comments and strings.
Search for text occurrencesSelect this option to apply the changes to documentation, HTML, JSP and other files included in your project.
Search for referencesSelect this checkbox to have the changes applied to the references to the file in question. This option is available only for Move File or Move Package refactorings.
Move to another source folderIf this option is selected, you can select the target root, where the destination package will be located. If the option is not selected, only the current root is used.

This option is disabled for the modules that contain a single source root.

This dialog box opens when Move directory to another source root option has been selected.
Select source rootChoose the target source root from a tree view of source roots configured in your project.
This dialog box opens when Move directory to another directory option has been selected.
To directoryUse this field to specify the destination directory. Click the ellipsis button, and select the target directory in the Select Path dialog box.
Last modified: 6 March 2018

See Also