# Move Directory dialog

The `Refactor | Move` menu command invokes the Move Directory dialog when a directory is selected in the Project tool window.

The `Refactor | Move` menu command opens the Move Directory dialog when a directory is selected in the Project tool window.

| Item | Description |
| --- | --- |
| To directory |  Specify the destination directory. Enter the path manually or click ![the Browse button](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.general.ellipsis.svg) to select the target directory in the dialog that opens.  |
| Search for references |  Select this option to find and update references to the directory being moved.  |
| Open in editor |  Select this option to open the files of the moved directory in the editor.  |

