Changing the case of a string in Eclipse
Solution 1
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.
Solution 2
You can see all shortcuts of eclipse by pressing:
CTRL+SHIFT+L
Solution 3
Help-> Key assist
You will get all of eclipse's shortcuts.
Solution 4
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:
Solution 5
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
Related videos on Youtube
Itay Moav -Malimovka
SOreadytohelp Below are some of the open source projects I work on. A PHP Library the wrappes SurveyMonkey's API https://github.com/itay-moav/TheKofClient A tool to Schema Check, manage Stored Procedures, Triggers, Views and get autocompletion: https://github.com/itay-moav/rahl_commander A fun way to point users at the right direction in your site ;-) https://github.com/itay-moav/babahandofgod An old version of WMD which I converted to Mootools, 8 years ago... http://moowmd.awardspace.info Feel free to contact me through linkedin http://www.linkedin.com/in/itaymoav
Updated on September 06, 2020Comments
-
Itay Moav -Malimovka over 3 years
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?
-
Someone Somewhere over 11 yearsdo you know if this can be added to the Eclipse menu, maybe under "Edit" or under "Source" ? Those hotkeys are impossible to remember.
-
Ken Chan over 11 yearsYou can use the hot key CTRL+SHIFT+L to bring up the popup that contains all the available hot-keys
-
Avi Cohen over 10 yearsThe hot key "CTRL+SHIFT+L" is for "Key Assist", which is under the "Help" menu.
-
Emmanuel Angelo.R over 9 yearsinstead of going help-> key assist you can press ctrl+shift+L
-
cgajardo about 9 yearson a mac you can use: cmd + shift + X (+Y)
-
Gabriel Staples about 4 yearsOnce you've done this, scroll down the shortcut list and look for To Lower Case and To Upper Case to see they are Shift+Ctrl+Y and Shift+Ctrl+X, respectively.