To invoke Rearrange Code
- Place the caret at a code element that should be moved.
Do one of the following:
On the main menu, choose
ReSharper | Edit | Rearrange Code. Depending on the caret position some menu items might not be available. Choose one of the available menu items in order to move the code element to the corresponding direction.
Ctrl+Shift+Alt. ReSharper displays a tooltip that shows what code elements in what ways can be moved. Press the appropriate arrow key.
- On the main menu, choose