I'm using Microsoft Visual C# 2010.
I have one class in two files:
file1.cs
partial class SomeClass {
// something
}
file2.cs
partial class SomeClass {
// something else
}
Now, in some third place in project, when I write "SomeClass.SomeMethod()" and press Alt+Shift+F10, and pick "generate method stub..." it always creates code in file1.cs.
My question is: Is it possible to give directive to do it in file2.cs, and how?
You can use the Resharper function for it. (you can install it via the extension manager)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With