Jump to the start of next statement
Say that I'm writing a test and my caret is here (indicated by "|"):
[ExpectedException(typeof(InvalidOperationException|))]
In Visual Studio 2010, I'd like to press some shortcut that would take me to the next line so that I could st开发者_StackOverflow社区art typing "public void Etc()".
Right now, I need to press
Right arrow
Right arrow
Right arrow
Enter
Edit: It can be
End
Enter
But that wouldn't work well if the next statement was on the same line. I'm still looking for a generic command to jump to next statement (or maybe language token should I say).
Is there a VS2010 / ReSharper shortcut to aid this?
In VS2k8 it is Edit.LineOpenBelow = Ctrl+Shift+Enter? Don't know if the same is in VS2k10.
"End" key on your keyboard then "Return" for a newline?
精彩评论