Telerik® JustCode™ by Progress

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.


Language Support

Supported: C#, VB.NET

Not relevant: JavaScript, ASP.NET, XAML, HTML

To move type to another file

  1. Position the caret over the type identifier.
  2. Press Alt+Enter. From the pop-up menu, select Move Type To Another File.

    Move Type Select
  3. The result is:

    Move Type Executed

See Also