t t*_*ran 121 visual-studio-code
我听说微软发布了一个名为Visual Studio Code的新编辑器,它看起来相当不错,我需要的一个关键功能是多行编辑,我似乎无法找到任何有关它的东西.
小智 306
盒子选择
Windows和Linux:shift+ alt+'鼠标左键'
macOS:shift+ option+'点击'
Esc 退出选择.
MacOS:shift+ alt/option+ command+'箭头键'
Joe*_*ley 27
按Ctrl+ Alt+ Down或Ctrl+ Alt+ Up可在下方或上方插入光标.
Jim*_*non 19
我在Visual Studio中用于多行(也称为框)选择的快捷键是Shift + Alt +向上/向下/向左/向右
要在VS Code中创建它,您可以将这些键绑定添加到keybindings.json文件(文件 - >首选项 - >键盘快捷键).
{ "key": "shift+alt+down", "command": "editor.action.insertCursorBelow",
"when": "editorTextFocus" },
{ "key": "shift+alt+up", "command": "editor.action.insertCursorAbove",
"when": "editorTextFocus" },
{ "key": "shift+alt+right", "command": "cursorRightSelect",
"when": "editorTextFocus" },
{ "key": "shift+alt+left", "command": "cursorLeftSelect",
"when": "editorTextFocus" }
Run Code Online (Sandbox Code Playgroud)
Jal*_*sem 10
对于Visual Studio代码中的多个选择,按住__CODE__
键并开始单击wana编辑的任何位置.Visual Studio代码支持多行编辑
归档时间: |
|
查看次数: |
106020 次 |
最近记录: |