Changing the case of a string in Eclipse

Itay Moav -Malimovka picture Itay Moav -Malimovka · Jul 22, 2011 · Viewed 70.2k times · Source

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?

Answer

Ken Chan picture Ken Chan · Jul 22, 2011

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.