1
A
回答
0
你可以做列选择多种方式,
正如您所指出的,将光标移动到第一列按的第一个字开始(左)和持有Alt + Shift,然后右箭头选择顶行 (尝试Ctrl + Shift如果以前的组合键不起作用)。按下按键继续选择列,按向下键键。
将光标移动到第一列 新闻的第一个字开始(左)和持有ALT + SHIFT,然后反复按向下箭头增添更多游标。 (VSCode的某些版本也使用按Ctrl + Shift代替) 一旦光标加入通过简单Shift +向右箭头
按Ctrl + d选择字的下一个出现目前选择的字在光标下。
按Ctrl + Shift + L选择目前正在光标选择的字的所有出现,不管那些词语是上述的光标下面的。
0
默认情况下,这是按Ctrl + Shift + Alt +箭头。
如果你想重新绑定到与Visual Studio对齐,把这个在您的keybindings.json
:
{
"key": "shift+alt+down",
"command": "cursorColumnSelectDown",
"when": "editorTextFocus"
},
{
"key": "shift+alt+left",
"command": "cursorColumnSelectLeft",
"when": "editorTextFocus"
},
{
"key": "shift+alt+pagedown",
"command": "cursorColumnSelectPageDown",
"when": "editorTextFocus"
},
{
"key": "shift+alt+pageup",
"command": "cursorColumnSelectPageUp",
"when": "editorTextFocus"
},
{
"key": "shift+alt+right",
"command": "cursorColumnSelectRight",
"when": "editorTextFocus"
},
{
"key": "shift+alt+up",
"command": "cursorColumnSelectUp",
"when": "editorTextFocus"
}
这将与该复制线或生长/智能选择缩小默认功能冲突,这样你就可以添加这个交换那些需要控制:
,
{
"key": "shift+alt+up",
"command": "cursorColumnSelectUp",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+alt+down",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+alt+up",
"command": "editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+alt+right",
"command": "editor.action.smartSelect.grow",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+alt+left",
"command": "editor.action.smartSelect.shrink",
"when": "editorTextFocus"
}
相关问题
- 1. vscode的键盘快捷键选项列表
- 2. iPad键盘隐藏选择列表
- 3. VSCode重映射键盘快捷键
- 4. 非GPL带键盘导航的Swing日期选择器?
- 5. 数字键盘+键选择在Visual Studio
- 6. vscode如何添加用于分段选定行的键盘快捷键
- 7. 键盘带有日期选取器
- 8. 多选择的iOS自定义键盘
- 9. QTreeWidgetItem使用键盘的多重选择
- 10. 键盘快捷键在Mac上的VSCode中切换焦点?
- 11. VSCode:用于修改用户设置的键盘快捷键
- 12. 键盘快捷键循环浏览vscode中的更改
- 13. 带有cocos2d键盘的TextField!
- 14. IOS键盘输入选择器
- 15. 选择键盘或拾取器?
- 16. 键盘事件悬停/选择点JQplot
- 17. 引导,选择和键盘导航
- 18. 访问jqtransform使用键盘选择
- 19. 键盘超越日期选择器
- 20. 带重复键的选择框
- 21. 在.Net中,键盘,键盘或键盘上的按键编码有什么更好的选择?
- 22. 带有“:”键的vim键盘映射
- 23. 如何选择vscode中的每一行?
- 24. 如何禁用键盘上的选择键?
- 25. SSMS - 更改评论选择的键盘快捷键
- 26. 带普通键盘的自定义键盘?
- 27. 访问键盘列表,键盘切换
- 28. 基于键盘输入选择单选按钮选项
- 29. jQuery选择选项跳过选项组键盘箭头
- 30. 带滚动条的HTML表格或带列的选择列表?
他们没有在这里工作。我仍然无法像普通的Visual Studio ALT +箭头那样做。 –
@AndréLuizCarletti你可能有一个旧版本的VSCode。 –
我使用的是版本1.11.2。日期2017-04-13。我需要任何特殊的插件来使捷径工作? –