Kon*_*ten 15 camelcasing keyboard-shortcuts visual-studio-code
由于这个问题适用于"大型"Visual Studio和Resharper,我想在VS Code中看到这个功能.
滚动浏览VS Code 的快捷列表,我找不到它,但我希望它仍然在那里,但称之为比驼峰,驼峰等更不直观.
我发现这个扩展工作https://marketplace.visualstudio.com/items?itemName=ow.vscode-subword-navigation
有趣的是,您需要分别配置每个组合:
{
"key": "alt+left",
"command": "subwordNavigation.cursorSubwordLeft",
"when": "editorTextFocus"
},
{
"key": "alt+right",
"command": "subwordNavigation.cursorSubwordRight",
"when": "editorTextFocus"
},
{
"key": "alt+shift+left",
"command": "subwordNavigation.cursorSubwordLeftSelect",
"when": "editorTextFocus"
},
{
"key": "alt+shift+right",
"command": "subwordNavigation.cursorSubwordRightSelect",
"when": "editorTextFocus"
},
{
"key": "alt+backspace",
"command": "subwordNavigation.deleteSubwordLeft",
"when": "editorTextFocus"
},
{
"key": "alt+delete",
"command": "subwordNavigation.deleteSubwordRight",
"when": "editorTextFocus"
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1425 次 |
| 最近记录: |