Place the caret at the name of a class or interface, etc. in the editor
or select it in the Class View window or
in the Object Browser window.
On the ReSharper menu or context menu, choose
, or press
drop-down list appears, then click
Move to Another File.
Move to Another File
dialog box opens:
Type a file name in the New file name text box.
You can specify a name for an existing file or a new one.
In the latter case, the new file is created in the current folder.
If no conflicts are found, ReSharper performs the refactoring immediately.
Otherwise, resolve conflicts.
When you undo this action, be aware that content is deleted from the newly created file,
however the file itself is preserved in project.