开发者

Jump to the start of next statement

开发者 https://www.devze.com 2023-01-03 07:20 出处:网络
Say that I\'m writing a test and my caret is here (indicated by \"|\"): [ExpectedException(typeof(InvalidOperationException|))]

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?

0

精彩评论

暂无评论...
验证码 换一张
取 消