The Move Types into Matching Files refactoring helps you split one file with several declarations into several files with one declaration per file.
- In the Solution Explorer window, choose a node you want to apply the refactoring to.
On the ReSharper menu or context menu, choose
Refactor | Move Types into Matching Files.
Move Types into Matching Files
dialog box opens:
- Select check boxes nearby the declarations to be moved and click Next.
- If the name of an existing file coincide with the name of file that is going to be created, ReSharper informs about the conflicts and prompts you to resolve them.