VS Code 中没有像webstrom中的大小写的快捷键的设置,要实现这样的功能只能进行设置:
在vscode左下角的设置选项中,选中键盘快捷键一项,然后在搜索栏下面打开keybings.json的链接,修改keybings.json 添加配置
// Place your key bindings in this file to overwrite the defaults
[
{
// 大写
"key": "ctrl+u",
"command": "editor.action.transformToUppercase",
"when": "editorTextFocus"
},
{
// 小写
"key": "ctrl+l",
"command": "editor.action.transformToLowercase",
"when": "editorTextFocus"
}
]
设置成功!
Linux公社的RSS地址:https://www.linuxidc.com/rssFeed.aspx
本文永久更新链接地址:https://www.linuxidc.com/Linux/2019-05/158463.htm
