Visual Studio editor - extend selection to the nex

2019-06-15 02:28发布

In Visual Studio 2010, is there any way to quickly extend the selected text to the next logical code block? For example, if my cursor was here:

location of cursor

And I hit some magical keyboard shortcut, it would select the entire string:

Example of selected string

Hit it again, and it would select the next larger logical block of code:

Example of selected code block

And so on. Does this exist? My google-fu seems to be failing me..

7条回答
萌系小妹纸
2楼-- · 2019-06-15 02:55

In ReSharper, this is extend selection and the shortcut is CTRL-W. Not sure of a non-ReSharper solution.

查看更多
登录 后发表回答