Alt+ ↑ / ↓ Move line up/down 按住alt,按向上的箭头该行就向上移动,按向下的箭头该行就向下移动; Shift+Alt + ↓ / ↑ Copy line up/down 这个是拷贝行,向上箭头拷贝到上面,向下拷贝就到下面; Ctrl+Shift+K Delete line 删除行; Ctrl+Enter Insert line below 把光标移动到所在行的下面进行插入操作...
Alt+ ↑ / ↓ 向上/向下移动行 Move line up/down Shift+Alt + ↓ / ↑ 向上/向下复制行 Copy line up/down Ctrl+Shift+K 删除行 Delete line Ctrl+Enter 在下面插入行 Insert line below Ctrl+Shift+Enter 在上面插入行 Insert line above Ctrl+Shift+\ 跳到匹配的括号 Jump to matching bracket Ctrl...
⌥↓ / ⌥↑ (^)Move line down/up ⇧⌥↓ / ⇧⌥↑ (^)Copy line down/up ⇧⌘K (^)Delete line ⌘Enter / ⇧⌘Enter (^)Insert line below/above ⇧⌘\ (^)Jump to matching bracket ⌘] / ⌘[ (^)Indent/outdent line ...
Check for existing issues Completed Describe the bug / provide steps to reproduce it In vs code to move a line up it should be option key + arrow key up or down. Right now it seems to be using control key + command + arrow key up or down...
VS Code 快捷键(中英文对照版) VS Code 快捷键(中英文对照版) VS Code 快捷键(中英文对照版) VS Code 快捷键(中英文对照版) VS Code 快捷键(中英文对照版) VS Code 快捷键(中英文对照版) VS Code 快捷键(中英文对照版) 常用 General
O是Open,新打开一个Code 显示Display F11 切换全屏 Toggle full screen Shift+Alt+0 切换编辑器布局 Toggle editor layout 横竖布局互换 Shift+Alt+1 把编辑器中文件放到第一组 Move Editor To FirstGroup Ctrl+ = / - 放大/缩小 Zoom in/out Ctrl加上+ - 键 Ctrl+B 切换侧栏可见性 Toggle Side...
本文主要是VS Code常用快捷键总结: 1主命令框 F1或Ctrl+Shift+P(命令版) :打开命令面板。在打开的输入框内,可以输入任何命令,见下图: 按一下Backspace会进入到Ctrl+P模式 (Ctrl+P快速打开) 在Ctrl+P下输入 > 可以进入Ctrl+Shift+P模式 在Ctrl+P窗口下还可以直接输入文件名,跳转到该文件 ...
剪切行(空选定) Cut line (empty selection) Ctrl + C 复制行(空选定)Copy line (empty selection) Alt + ↑ / ↓ 向上/向下移动行 Move line up/down Shift + Alt + ↓ / ↑ 向上/向下复制行 Copy line up/down Ctrl + Shift + K 删除行 Delete line ...
Move line up and down Mac: opt+up or opt+down Windows / Linux: alt+up or alt+down Trim trailing whitespace Mac: cmd+k cmd+x Windows / Linux: ctrl+k ctrl+x Code formatting Currently selected source code Mac: cmd+k, cmd+f Windows / Linux: ctrl+k, ctrl+f Whole document ...
The editor highlights the line where you set a breakpoint before starting the debugger: TheRun and Debugview on the left shows debugging information. You'll see an example later in the tutorial. At the top of the code editor, a debugging control panel appears. You can move this around the...