Eclipse upper case/lower case

时间:2021-10-12 10:00:22

How do I make a lower case string in Eclipse to be upper case?
Using Eclipse, I want to select a string and either uppercase it or lower case it.
How?

By default, the hotkey :

changes to lower case : CTRL + SHIFT + Y

changes to upper case : CTRL + SHIFT + X

do you know if this can be added to the Eclipse menu, maybe under "Edit" or under "Source" ?

Those hotkeys are impossible to remember

You can use the hot key CTRL+SHIFT+L to bring up the popup that contains all the available hot-keys

This tip comes from eclipse help. If you need to find it, click Help, Search, then type "uppercase".

You'll find a page with lots of shortcuts.