Geeks With Blogs
Lee Brandt's Blog You're only as smart as your last line of code Resharper
Resharper Tip of the Day: Moving Chunks of Code
Today I have been using a ReSharper keyboard shortcut to rearrange chunks of code. I needed to move a method above another method in a class. With the cursor at the beginning of the line inside the chunk I want to move, I hit: Ctrl+Shift+Alt+UpArrow and it moves the entire method up one section (above the method before it). So.. given: public string SomeMethod() { Here.Is.SomeCode.ToBe(Super... } public string MyMethod() { Here.Is.SomeCode(that).Save... } I put my cursor at the line ......

Posted On Monday, April 13, 2009 1:25 PM

Copyright © Lee Brandt | Powered by: