Rename Type to Match File

Renames the type to match the file name, updating references as necessary.

Availability

Available from the context menu or via shortcuts:

  • when the edit cursor or caret is on a type declaration. The current file's name should differ from the type's name.

Animation

rsRenameTypeToMatchFileCSharp

See Also