
Keeping this in consideration, how do you select a whole line? Now you should see line numbers in the text editor when you open a file.

Then simply check the ' Line numbers' box in the Display section. Now from the options dialog, expand the 'Text Editor' section and click 'All Languages'. Then they continue with CTRL-X, CTRL-C, etc.įurthermore, how do I view lines in Visual Studio? To enable, select 'Options…' from the 'Tools' menu. With the keyboard, that would be: Hold SHIFT, hit HOME, hit END and the entire line is selected. Then they use either the mouse or the keyboard to expand the selection to the entire line. They place the cursor inside the line that they need to delete, cut or copy. In respect to this, how do I select a whole line in Visual Studio? 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.

This combination also works for uncommenting a complete line or lines. If you want to select a line or lines you can use the combination of ctrl + E then U.
