vscode 大小写转换
时间: 2023-08-27 07:16:56 浏览: 86
VS Code转换大小写、修改选中文字或代码颜色的方法
在VSCode中进行大小写转换有几种方法。一种方法是通过使用快捷键。你可以在keybindings.json文件中添加以下代码来设置快捷键:
```
{
"key": "ctrl shift u",
"command": "editor.action.transformToUppercase",
"when": "editorTextFocus"
},
{
"key": "ctrl shift l",
"command": "editor.action.transformToLowercase",
"when": "editorTextFocus"
}
```
这将使你可以使用Ctrl + Shift + U将选定的文本转换为大写,使用Ctrl + Shift + L将选定的文本转换为小写。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [VS Code 如何设置大小写转换快捷键](https://blog.csdn.net/zyx6a/article/details/122245225)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [vscode代码切换大小写的教程](https://blog.csdn.net/weixin_44657888/article/details/127679404)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文