VS Code中转换大小写功能

来源:互联网 发布:百度软件中心开发者 编辑:程序博客网 时间:2024/06/05 16:32

一 、默认情况下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"    }


更多:

VS Code修改选中文字或代码的颜色

VS Code 列编辑功能说明

VS Code使用技巧整理

原创粉丝点击