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

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

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

12条回答
  •  悲哀的现实
    2020-12-15 03:34

    If you want to select a line or lines you can use the combination of ctrl + E then U. This combination also works for uncommenting a complete line or lines. This combination looks somewhat strange to work with, but it will get habituated very soon :)

    You can also use Ctrl + X to cut an entire line. Similarly, you can use Ctrl + C to copy an entire line. As long as you don't have anything selected, these commands will work on the entire line.

提交回复
热议问题