ReSharper Web Help

The Move Types into Matching Files refactoring helps you split one file with several declarations into several files with one declaration per file.

To move types into matching files
  1. In the Solution Explorer window, choose a node you want to apply the refactoring to.
  2. On the ReSharper menu or context menu, choose Refactor | Move Types into Matching Files.
  3. The Move Types into Matching Files dialog box opens:
  4. Choose declarations you want to move and click Next.
  5. If the name of an existing file coincide with the name of file that is going to be created, ReSharper shows the Conflicts page:
  6. Look through the list and try to resolve conflicts .
  7. Click Next to run the refactoring.

See Also