Move All Types to Files Settings
You can configure the Move All Types to Files refactoring on the Editor | All Languages | Code Actions | Move All Types to Files options page.
The Move All Types to Files page contains the following settings:
Automatically Move the Following Types into Separate Files
Use this setting to select the types that the Move All Types to Files refactoring should move from one file into new separate files.
Note
All types are initially selected for this setting.
The following types are available:
- Classes
- Structures
- Interfaces
- Enums
- Records
- Delegates
CodeRush automatically activates items for the selected types in the “Types to move” window before you apply this refactoring. For example, if you set this setting to “Interfaces”, the “Types to move” window shows the enabled items for interfaces.
Let Me Decide What Types to Move Each Time I Apply this Refactoring
This setting specifies whether the “Types to move” window appears when you apply this refactoring. Disable this setting to hide the “Types to move” window if you do not want to change the specified types when you apply this refactoring.
The screencast below shows the Move All Types to Files refactoring in action without the confirmation window: