Make selected block of text uppercase

前端 未结 13 1778
旧巷少年郎
旧巷少年郎 2020-12-12 09:50

Can I make a multi-line selection of text all capitals in Visual Studio Code?

In full Visual Studio it\'s CTRL+SHIFT+U

相关标签:
13条回答
  • 2020-12-12 10:29

    At Sep 19 2018, these lines worked for me:

    File-> Preferences -> Keyboard Shortcuts.

    An editor will appear with keybindings.json file. Place the following JSON in there and save.

    // Place your key bindings in this file to overwrite the defaults
    [
        {
            "key": "ctrl+shift+u",
            "command": "editor.action.transformToUppercase",
            "when": "editorTextFocus"
        },
        {
            "key": "ctrl+shift+l",
            "command": "editor.action.transformToLowercase",
            "when": "editorTextFocus"
        },
    
    ]
    
    0 讨论(0)
提交回复
热议问题