Is there any shortcut to select the current line in Visual Studio?

前端 未结 12 801
予麋鹿
予麋鹿 2020-12-15 03:23

I couldn\'t find such feature in VS\'s shortcut list. Is there anyway?

12条回答
  •  北荒
    北荒 (楼主)
    2020-12-15 03:56

    Use the following:

    Shift + End If cursor is at beginning of line.

    or

    Shift + Home If cursor is at the end of the line.

    Alternatively, if you use resharper, you can also use the following

    Ctrl + w while the cursor is positioned on the line you want to select

提交回复
热议问题