一 、默认情况下VS Code的编辑菜单或快捷键中没有 转换为大写,转换为小写的功能
解决方案1:使用键盘配置,开启转换为小写,转换为大写的快捷键
以VS中的 快捷键为例:
小写 -》Ctrl+U
大写=》Ctrl+Shift+U
解决方案2,直接修改keybings.json 添加配置
{
"key": "ctrl+shift+u",
"command": "editor.action.transformToUppercase",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+l",
"command": "editor.action.transformToLowercase",
"when": "editorTextFocus"
}
更多: