Create new method positions new method in strange place
Hi All
This is probably me doing something stupid but Resharper is suddenly putting new methods all the way at the bottom of my class. I just installed (well just a few weeks ago but I just got back to using VS & Resharper) the lastest build. Before this build resharper used to put new methods directly below the method where you declared them first so:
public void SomeSillyMethod()
{
DeclareAnotherSillyMethod(); If unknown you could select and click the little light bulb and let reshaper create a new method. It would be placed right below the method the cursor was in.
}
private void DeclareAnotherSillyMethod();
{}
.... rest of the class
But now the new method is placed all the way at the end. Is there a reason for this? Did I miss a button somewhere or ... It's kinda annoying if the class is big because it tends to disturb the 'flow' of the source code. Normally everything that belonged together stayed together. And now that's not so anymore.
Well anyways let me know where I've gone wrong.
Regards Petrik
Please sign in to leave a comment.
Hello Patrick,
This is a bug introduced in 1.5. It will be fixed in a bug-fix update. You
can add watch the request #6063 in the tracker ( http://www.intellij.net/tracker/resharper/viewSCR?publicId=6063)
to observe the progress with the bug.
Thanks,
Andrey Simanovsky