VS useful shortcut

Sometimes you need just copy the same line of code – so you select the whole line, copy it and paste it in the new line.

But there is a simple solution. Do not select anything – just point the cursor on the line you want to copy.

Then Ctrl+C, V and… the work is done.

 

Advertisements