# What's New in v21.1.7 ## Refactorings - Move All Types to Files With the new "Move All Types to Files" refactoring, you can quickly move all types (or only selected types) contained in one file into new separate files (one file per type). Each file will have the same name as the type it contains. ![](https://i.imgur.com/kLSERRA.gif) You can also run this refactoring from the **Solution Explorer** targeting a selected project, folder, or folders containing source files with multiple types inside. Simply right-click the project, folder, or folders and select "Move All Types to Separate Files". ![](https://i.imgur.com/mVHAnxf.png) If you want to apply the "Move All Types to Files" refactoring during [code cleanup](https://docs.devexpress.com/CodeRushForRoslyn/115683/code-style-assistance/code-cleanup), enable the corresponding options for the **Move types to separate files** rule on the **Editor** | **C# (Visual Basic)** | **Code Cleanup** options page. ![](https://i.imgur.com/iy4S9ci.png) You can configure the "Move All Types to Files" refactoring on the **Editor** | **All Languages** | **Code Actions** | **Move All Types to Files** options page. ![](https://i.imgur.com/buI7yRC.png) ## Short Descriptions for WN Hint **New Refactoring** "Move All Types to Files" allows you to quickly move all types or selected types from one file into new separate files. This refactoring can also be automatically invoked as a part of Code Cleanup. ## Resolved Issues [T1027851](https://www.devexpress.com/issue=T1027851) - Formatting - Code becomes commented when processing single line comments inside object initializers and LINQ expressions [T1021592](https://www.devexpress.com/issue=T1021592) - Formatting - Comments in the array initializer break code after formatting [T1021620](https://www.devexpress.com/issue=T1021620) - Navigation - "Tab to Next Reference" conflicts with IntelliCode in Visual Studio 2022 [T1027852](https://www.devexpress.com/issue=T1027852) - Refactorings - The "ForEach to Linq" refactoring should not be available if the await expression is used in the foreach cycle context [T1024854](https://www.devexpress.com/issue=T1024854) - Settings - The "Jump to File" dialog jumps around a screen with the scale factor greater than 100%