Itay Moav -Malimovka
Itay Moav -Malimovka

Reputation: 53603

Changing the case of a string in Eclipse

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?

Upvotes: 221

Views: 88849

Answers (5)

Morteza Pouladi
Morteza Pouladi

Reputation: 59

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

enter image description here

then you can find any shortcut

Upvotes: 5

Franck Dernoncourt
Franck Dernoncourt

Reputation: 83197

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:

enter image description here

To install:

enter image description here

Upvotes: 16

Ken Chan
Ken Chan

Reputation: 90467

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.

Upvotes: 380

Levent Akdeniz
Levent Akdeniz

Reputation: 281

You can see all shortcuts of eclipse by pressing:

CTRL+SHIFT+L

Upvotes: 28

Caution Continues
Caution Continues

Reputation: 753

Help-> Key assist

You will get all of eclipse's shortcuts.

Upvotes: 20

Related Questions