<html><head><link rel="canonical" href="https://www.jetbrains.com/help/idea/move-members-dialog.html.md/" data-react-helmet="true"/></head><body># Move Members Dialog

`Refactor | Move`

`F6` (Windows), `F6` (macOS), `F6` (IntelliJ IDEA Classic (macOS)), `⌘ ⌥ I` (macOS System Shortcuts), `F6` (XWin), `F6` (GNOME), `F6` (KDE), `F6` (Emacs), `F6` (Sublime Text), `F6` (Sublime Text (macOS)), `Ctrl+M` (NetBeans), `Ctrl+R, O` (Visual Studio), `⌘ R, O` (Visual Studio (macOS)), `Alt+Shift+V` (Eclipse), `⌘ ⌥ V` (Eclipse (macOS))

Move Member refactoring dialog is invoked for static members selected in the Structure view, or in the editor.

| Item | Description |
| --- | --- |
| Move members from | This read-only field displays the fully qualified name of the source class containing members to be moved. |
| To (fully qualified name) | Specify the fully qualified name of the target class. |
|  Move as enum constant if possible |    This option is useful when moving constants (`static final` fields) to an `enum` type in cases when the `enum` type has a constructor with one parameter of the suitable type.      Say, we are moving `MOUSE_EVENT` from the class `Events`.      ```JAVA class Events {     public static final String MOUSE_EVENT = "mouseEvent"; } ```     to the enum `ActionType`      ```JAVA enum ActionType {     ;     String typeName;     ActionType(String name) {         typeName = name;     } } ```     If the option is on, we'll get the following result:      ```JAVA enum ActionType {     MOUSE_EVENT("mouseEvent");     String typeName;     ... } ```     If the option is off, the result will be:      ```JAVA enum ActionType {     ;     public static final String MOUSE_EVENT = "mouseEvent";     String typeName; ... } ```    |
| Members to be moved (static only) | This table shows all static members detected in the specified class. Select checkboxes next to the members you want to move.  |
| Visibility | Specify visibility level. You can either specify it explicitly, or select Escalate to automatically raise it to a necessary level. |

## See also

### Procedures

[Move and copy refactorings](move-refactorings.html)

</body></html>