The Move Type To Another File quick fix is available once Telerik® JustCode™ has detected two types in one file or the name of the type is different from the name of the file. Telerik® JustCode™ suggests you to move the type to another file or
to rename file to match type name. By executing this fix, Telerik® JustCode™ automatically creates a new file, adds it to the project and move the type with the namespace and usings to the new file.
Note |
---|
Language Support Supported: C#, VB.NET Not relevant: JavaScript, ASP.NET, XAML, HTML |
To move type to another file
- Position the caret over the type identifier.
Press Alt+Enter. From the pop-up menu, select Move Type To Another File.
The result is:
See Also