gpt4 book ai didi

keyboard-shortcuts - 有没有办法通过 VS Code 中的方法名称启用 Camel 驼峰?

转载 作者:行者123 更新时间:2023-12-03 20:14:04 25 4
gpt4 key购买 nike

this question适用于“大型”Visual Studio 和 Resharper,我也希望在 VS Code 中看到该功能。

滚动浏览 shortcut list对于 VS Code,我找不到它,但我希望它仍然存在,但被称为不如 Camel 、驼峰等直观的东西。

最佳答案

我发现这个扩展可以工作 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"
}

关于keyboard-shortcuts - 有没有办法通过 VS Code 中的方法名称启用 Camel 驼峰?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40593631/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com