Article directory
VSCode does not have a shortcut key that can directly convert letters to uppercase or lowercase, but it can be defined through settings.
- Click the settings button in the lower left corner and select
键盘快捷方式
- Search
写
in the shortcut and you will find:
- Select the shortcut key you want to set and click the
+
number on the left
- Press and hold the shortcut key method you want to set on the keyboard and press Enter to save it.
- Recommended setting is (to avoid conflicts with other shortcut keys)
1. 转换为大写:Ctrl + Alt + U
2. 转换为小写:Ctrl + Alt + L