Alt+C / R / W 切换大小写敏感 / 正则表达式 / 全字 5、Multi-cursor andselection光标和选择 Alt+Click 单击 插入光标 Ctrl+Alt+ ↑ / ↓ 在上/下方插入光标 Ctrl+U 撤销上次光标操作 Shift+Alt+I 在选定的每行末尾插入光标 Ctrl+L 选择当前行 Ctrl+Shift+L 选择所有出现的当前选择 Ctrl+F2 选择所有...
目录 VS Code 快捷键整理 基础编辑 Basic editing 导航Navigation 搜索和替换 Search and replace 多光标和选择 Multi-cursor and selection 丰富的语言编辑 Rich languages editing 编辑器管理 Editor management 文件管理 File management 显示Display 调试Debug 集成终端 Integrated terminal 基础编辑 Basic editing 导航Nav...
Multi-cursor and selection - 多光标和选择 Alt+Click Insert cursor alt+左键鼠标点击,可以添加多个光标; Ctrl+Alt+ ↑ / ↓ Insert cursor above / below 上下移动光标形成一列光标,在这一列光标前插入字符; Ctrl+U Undo last cursor operation 撤消上次光标操作,使用ctrl+u没有反应,ctrl+z能用,错否? Sh...
多光标和选择 Multi-cursor and selection Alt +单击 插入光标 Insert cursor 按住Alt键,可以插入多个光标 Ctrl + Alt +↑/↓ 在上/下插入光标 Insert cursor above / below 用在行首或者列表插入内容很好用 Ctrl + U 撤消上一个光标操作Undo last cursor operation ...
多光标和选择 Multi-cursor and selection Alt +单击 插入光标 Insert cursor 按住Alt键,可以插入多个光标 Ctrl + Alt +↑/↓ 在上/下插入光标 Insert cursor above / below 用在行首或者列表插入内容很好用 Ctrl + U 撤消上一个光标操作 Undo last cursor operation 光标回退,回到前几个位置,但不影响...
Shrink/expand selection: Shift+Alt+Left和Shift+Alt+Right Multi-Cursor:可以连续选择多处,然后一起修改,Alt+Click添加cursor或者Ctrl+Alt+Down 或 Ctrl+Alt+Up 同时选中所有匹配的Ctrl+Shift+L Ctrl+D下一个匹配的也被选中(被我自定义成删除当前行了,见下边Ctrl+Shift+K) 回退上一个光标操作Ctrl+U 重构代码...
VS Code 快捷键(中英文对照版) 常用General 基础编辑 Basic editing 导航Navigation 搜索和替换 Search and replace 多光标和选择 Multi-cursor and selection 丰富的语言编辑 Rich languages editing 编辑器管理 Editor management 文件管理 File management 显示Display 调试Debug 集成终端 Integrated term...
多光标和选择 Multi-cursor and selection 按Press 功能Function Alt +单击 插入光标 Insert cursor Ctrl + Alt +↑/↓ 在上/下插入光标 Insert cursor above / below Ctrl + U 撤消上一个光标操作 Undo last cursor operation Shift + Alt + I
然后如果嫌这种操作太过繁琐,可以设置快捷键,具体方法就是用multi-command快捷键将“选中整行”的命令"expandLineSelection"+“将选中的语句放置终端中运行”的命令"workbench.action.terminal.runSelectedText"+右移光标"cursorRight"连在一起绑定给一组快捷键。然后就可以比较舒适地逐行运行或者逐块运行。整个配置过程...
Here are a selection of common features for editing code. If the keyboard shortcuts aren't comfortable for you, consider installing a Keymap extension for your old editor. Multi cursor selection Mac: opt+cmd+up or opt+cmd+down Windows: ctrl+alt+up or ctrl+alt+down Linux: alt+shift+up...