Visual Studio - Is there a keyboard combination to select an entire line?
I already know about Ctrl + L to delete an entire line...is there one to just select an entire line (which I can then copy and paste somewhere else...)
Solution 1:
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, the command will work on the entire line.
Solution 2:
Hit
- Home
- Shift + End
Solution 3:
You can do it with Shift + DownArrow.
Solution 4:
Yes there is. If you are in the begining of the line press Shift+ End. If you are in the end of the line press Shift+ Home. Hope that helps
Solution 5:
I believe, if you don't have any selection and press Ctrl + C, it would copy the line.