开发者

Visual Studio 2010 shortcut to go back from definition [duplicate]

This question already has answers here: After "Go to Definition", is there a command to return to where you came from? 开发者_如何学Python (9 answers) Closed 9 years ago.

In Visual Studio when going to definition by pressing F12, it takes you to definition. Is there any way to go back to where you came from?

This is specially annoying when you have definition within same file. If it's in another file then it's ok Ctrl+Tab take you back to previous window. But when it's in same file then have to find where you came from and go there.


Try the key combination: Ctrl + -.


As others mention, use Ctrl + -. This is the View-NavigateBackward shortcut in Visual Studio's default key mapping scheme, and can be mapped to any key combination you like from Tools->Options->Keyboard. I like Alt+ myself, to match typical web browser use.

Note that, for most five-button mice, the navigate-left button will also do this.


 Ctrl  +  - 


Ctrl -> '+' -> '-' I searched for a long time till i found that one, and I can't stop using it since!! :)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜