📌  相关文章
📜  在 Visual Studio 中移动线 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:08.907000             🧑  作者: Mango

代码示例2
The default shortcut keys are as follows:

Alt+↑ (Up Arrow) – Moves a line up
Alt+↓ (Down Arrow) – Moves a line down
To change the shortcut keys:

In the Visual Studio main menu go to Tools → Options
Expand Environment
Select Keyboard
In the Show commands containing box type Tools.MoveLineUp or Tools.MoveLineDown
In the Press shortcut keys box press the new shortcut keys
Click Assign