When renaming a Class, and it's a partial Class I would also like to rename the partial class file as well.
Right now I have to manually rename the partial class file.
So if I have
MyClass.cs
MyClass.Partial.cs
If I rename MyClass to AnotherClass and then tell it to rename the file to match the type I'm left with this:
AnotherClass.cs
MyClass.Partial.cs
When I would like to be :
AnotherClass.cs
AnotherClass.Partial.cs
Hi Brien,
Thank you for sharing your idea with us. We appreciate it greatly.
We cannot do much with renaming a class, as the built-in VS Rename refactoring is used there. However, we completely agree that it would be great if the "Rename File to Match Type" refactoring can process partial class files. We will improve it in our future updates.