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
- Position the caret over the type identifier.
Press Alt+Enter. From the pop-up menu, select Rename File To Match Type Name.
The result is:
See Also
Other Resources
Rename File To Match Type Name Refactoring