Visual Studio : short cut Key : Duplicate Line

后端 未结 30 1353
[愿得一人]
[愿得一人] 2020-12-12 10:01

Is there a shortcut for Duplicate Line command in Visual Studio 2008?

Some similar examples:

  • in
30条回答
  •  隐瞒了意图╮
    2020-12-12 10:26

    For visual studio 2010, try using these commands for quick line duplication (uses clipboard):

    • Click on the line you want to copy. Ctrl + C will copy that line.

    • Then press Ctrl + Shift + Enter to insert a blank below insertion point

      (Alternatively use Ctrl + Enter to insert a blank line above the insertion point.)

    • Then simply use Ctrl + V to paste the line.

提交回复
热议问题