Changing the case of a string in Eclipse

后端 未结 5 1917
野的像风
野的像风 2020-12-12 09:19

How do I make a lowercase string uppercase using Eclipse? I want to select a string and either uppercase it or lowercase it. Is there a shortcut for doing this?

相关标签:
5条回答
  • 2020-12-12 10:01

    Eclipse only provides a keyboard shortcut by default. If you prefer to use the menu, you can use the free plugin AnyEdit Tools, which will add some entries to the context menu to change the case of the selected text:

    To install:

    0 讨论(0)
  • 2020-12-12 10:02

    Ctrl+Shift+y : To-lower
    Ctrl+Shift+x : To-Upper

    In addition, in Eclipse IDE, press Ctrl+Shift+L, then you see this list of shortcuts panel

    then you can find any shortcut

    0 讨论(0)
  • 2020-12-12 10:16

    By default, the hotkeys:

    CTRL+SHIFT+Y changes to lowercase.

    CTRL+SHIFT+X changes to UPPERCASE.

    Or, on a Mac:

    ++Y changes to lowercase.

    ++X changes to UPPERCASE.

    0 讨论(0)
  • 2020-12-12 10:18

    You can see all shortcuts of eclipse by pressing:

    CTRL+SHIFT+L

    0 讨论(0)
  • 2020-12-12 10:23
    Help-> Key assist
    

    You will get all of eclipse's shortcuts.

    0 讨论(0)
提交回复
热议问题