2017-03-07 143 views
0

VS演播室的快捷方式是Alt+Click。但我的Alt键不起作用 如何将该快捷键切换到Ctrl +单击? 我没有在设置中找到该快捷方式,也许还有一种方法可以做到这一点?Visual Studio代码多行选择

回答

0

不,没有办法重新配置它,虽然它正在讨论这个github issue

但是,还有其他方法可以添加多个游标(这是alt + click在Visual Studio代码中执行的操作),尽管它们并不完全符合您的需求。这些是为增加光标的命令默认键绑定:

{ "key": "ctrl+alt+up",   "command": "editor.action.insertCursorAbove", 
            "when": "editorTextFocus" }, 
{ "key": "shift+alt+i",   "command": "editor.action.insertCursorAtEndOfEachLineSelected", 
            "when": "editorTextFocus" }, 
{ "key": "ctrl+alt+down",   "command": "editor.action.insertCursorBelow", 
            "when": "editorTextFocus" }, 
+0

所有的人都使用'Alt'按钮,这是我的键盘上破) –

+0

那些可以被重新映射到任何你想要的组合键。 – Llewey