Make selected block of text uppercase

前端 未结 13 1794
旧巷少年郎
旧巷少年郎 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:22

    In Linux and Mac there are not default shortcuts, so try to set your custom shortcut and be careful about don't choose a hotkey used (For example, CTRL+U is taken for uncomment)

    1. File-> Preferences -> Keyboard Shortcuts.
    2. Type 'transfrom' in the search input to find transform shortcuts.
    3. Edit your key combination.

    In my case I have CTRL+U CTRL+U for transform to uppercase and CTRL+L CTRL+L for transform to lowercase

    Just in case, for Mac instead of CTRL I used

提交回复
热议问题