Is there a way to quickly capitalize the variable name in Eclipse

Windows

After you press Alt+Shift+R as mentioned by kostja, you can select the text you want to change, then

  • Ctrl+Shift+Y for lowercase, or
  • Ctrl+Shift+X for uppercase.

Mac OS

  • Cmd+Shift+Y lowercase
  • Cmd+Shift+X uppercase

There is no intelligence in this. It just blindly changes the case on the selected characters.

note: 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.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)