VS Code中设置大小写转换功能

版权声明:本文为博主原创文章,欢迎转载,转载请标明出处。 https://blog.csdn.net/YeShenLiaoSuiFeng/article/details/82594249

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"
}
]

设置成功!

猜你喜欢

转载自blog.csdn.net/YeShenLiaoSuiFeng/article/details/82594249
今日推荐