vscode配置
1. settings.json
{ "Codegeex.Privacy": true, "files.autoSave": "afterDelay", "editor.fontSize": 14, "editor.formatOnSave": true, "code-runner.runInTerminal": true, "editor.mouseWheelZoom": true, "python.analysis.autoFormatStrings": true, "python.analysis.autoImportCompletions": true, "python.analysis.completeFunctionParens": true, "workbench.tree.indent": 16, "workbench.iconTheme": "material-icon-theme", "editor.renderWhitespace": "all" }
2. 快捷操作
shift + alt + 鼠标左键按住不放
> 选中多列
alt + 鼠标左键点击
> 光标选中多个地方【多光标选择】
shift + ctrl + L
> 快速选中同一个单词【批量修改】
Ctrl+D
只会选择所选项之后的下一个出现项,因此你可以逐个添加所选项
Ctrl+Alt+Up
或者 Ctrl+Alt+Down
当前位置上方或下方设置光标
ctrl + P
快速打开文件
Shift+Alt+Up
或者 Shift+Alt+Down
向上/下复制行
Alt+Up
或者 Alt+Down
向上/下移动行
Ctrl+G
导航至指定行
Ctrl+L
选中当前行
Shift+Alt+F12
查找所有引用