Changing the case of a string in Eclipse

后端 未结 5 1926
野的像风
野的像风 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: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.

提交回复
热议问题