Resharper
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...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati