Telerik® JustCode™ by Progress

The Rename File To Match Type Name 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 renames the file to match the name of the type.

Note

Language Support

Supported: C#

Not supported: VB.NET

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

To rename file to match the name of the file

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

    Rename File Select
  3. The result is:

    Rename File Executed

See Also

Other Resources

Rename File To Match Type Name Refactoring