RubyMine 5.4.0 Web Help

Move refactorings allow you to move files and directories within a project. So doing, RubyMine automatically corrects all references to the moved symbols in the source code.

The following Move refactorings are available:

To perform a move refactoring, follow these general steps:
  1. Select the symbol to be moved and do one of the following:
    • On the Refactor menu, or on the context menu, choose Move.
    • Press F6F6.
    • In the Project tool window, drag the symbol to the new destination.

    The dialog that opens depends on the type of the selected symbol.

  2. Specify the move options according to the type of the item to be moved.
  3. Preview and apply the changes.

See Also

Reference:

Getting Started:

Web Resources: