打开vscode 输入ctrl+shift+p选择open keyboard shortcuts(JSON)
添加以下内容
// Place your key bindings in this file to override the defaultsauto[][{"key": "ctrl+shift+u","command": "editor.action.transformToUppercase","when": "editorTextFocus"},{"key": "ctrl+shift+l","command": "editor.action.transformToLowercase","when": "editorTextFocus"}]