Alt + 上下 Alt 与上下键结合,英文叫做「copy line」,相当于拖着这一行上下移动。 Alt + 左右 Alt 与左右键结合,实现「跳转」。比如我们去看某个函数的定义,我们跳转过去,当我们看完了,想要跳转回来时,不需要再动脑回找,直接使用Alt + ←即可(Alt + backspace同)。 Ctrl + Shift Ctrl + Shift + 上下左...
对于代码导航,CodeRushX提供了一个快速导航窗口,快捷键为Ctrl+Shift+Q: 默认地,它会列出所有的成员。CodeRushX为此也提供了文本过滤功能: 比如我们可以选择只显示当前文件,这里也支持类似于文件导航的缩略词过滤。 4. 代码编辑 先看看复制行(Duplicate Line)功能。我们经常要在类的开头定义多个字段,或在方法开头定义...
对于代码导航,CodeRushX提供了一个快速导航窗口,快捷键为Ctrl+Shift+Q: 默认地,它会列出所有的成员。CodeRushX为此也提供了文本过滤功能: 比如我们可以选择只显示当前文件,这里也支持类似于文件导航的缩略词过滤。 4. 代码编辑 先看看复制行(Duplicate Line)功能。我们经常要在类的开头定义多个字段,或在方法开头定义...
Move code rightCtrl+Shift+Alt+RightCtrl+Shift+Alt+Right Extend selectionCtrl+Alt+RightCtrl+W Shrink selectionCtrl+Alt+LeftCtrl+Shift+W Select containing declarationCtrl+Shift+[Ctrl+Shift+[ Duplicate a line or selectionCtrl+DCtrl+D Comment with line commentCtrl+Alt+/Ctrl+/ ...
The VS Code defaults should be: { "context": "Editor", "bindings": { "cmd-shift-k": "editor::DeleteLine", "alt-shift-down": "editor::DuplicateLine", "alt-down": "editor::MoveLineDown", "alt-up": "editor::MoveLineUp", "ctrl-shift-right": "editor::SelectLargerSyntaxNode", "...
Duplicate Line or Selection This trick adds the Edit.DuplicateLineSelection command (Edit > Advanced > Duplicate Line/Selection). When executed, it will duplicated the selected text (if any) just after the selection, or if there is no selection it will duplicate the current line. ...
ctrl+dcmd+dDuplicate Line✅ ctrl+dcmd+dDuplicate Selection✅ ctrl+ycmd+backspaceDelete line at caret✅ ctrl+shift+jctrl+shift+jSmart line join✅ ctrl+entercmd+enterSmart line split✅ shift+entershift+enterStart new line✅ ctrl+shift+ucmd+shift+uToggle case for word at caret or se...
如果您讨论的选择少于整行,则没有内置方式将选定的文本复制到下一行。它可以使用宏扩展来完成,它允许...
vsCode 全称 Visual Studio Code 是微软公司的一大力作,是最全能的编辑器。 voCode 安装没有其他要求,完全是下一步,下一步执行安装。下载下载x64 官网下载根据系统选择适当版本进行下载 安装下载后双击启动下一步许可安装位置创建快捷方式添加path中确认安装确认安装安装...
0 再补充一个吧。VS Code支持workspace,而且可以同时打开多个workspace。有时候我们需要一眼区别出来,...