【VSCode】Customize the shortcut keys for converting uppercase and lowercase letters

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.

  1. Click the settings button in the lower left corner and select键盘快捷方式

Insert image description here

  1. Search in the shortcut and you will find:

Insert image description here

  1. Select the shortcut key you want to set and click the + number on the left

Insert image description here

  1. Press and hold the shortcut key method you want to set on the keyboard and press Enter to save it.

Insert image description here

  1. Recommended setting is (to avoid conflicts with other shortcut keys)
1. 转换为大写:Ctrl + Alt + U
2. 转换为小写:Ctrl + Alt + L

Guess you like

Origin blog.csdn.net/qq_45677671/article/details/134600053