automatically rename files of partial class when class name changes

hi! i often use consistent prefix in a C# class file name when splitting the class into multiple partials each in a separate file.

the prefix is the class name itself:

- `SomePartialClass.Core.cs`

- `SomePartialClass.Editor.cs`

- `SomePartialClass.Update.cs`

- `SomePartialClass.Experimental.cs`

this is the default naming pattern that Rider suggests when using its "extract members to partial" action.

most often it's just 2 class parts for me, but in some significant number of cases it's more than 2 and sometimes even more than 20.

how can i get these files automatically renamed when i decide to rename the file do it with any native rider features or plugins?

much like when i rename a class and the name of file is the same, rider can rename file automatically

0
1 comment

Hello Curly-brace17, thank you for your question. 

This feature is not yet implemented. However, we have a corresponding feature request on our bug tracker. We would appreciate it if you would upvote the issue in order to demonstrate additional interest and bring increased awareness to the issue.

If you have any other questions, do not hesitate to ask. Have a great day!

0

Please sign in to leave a comment.