Eclipse: convert upper case text to lower case and viceversa with a simple shortcut

This is just a quick post to share these 2 little shortcuts to convert text from lower case to uppercase and viceversa in Eclipse.

Lower case: CTRL+SHIFT+Y (CMD+SHIFT+Y on Mac OS X)
Upper case: CTRL+SHIFT+X (CMD+SHIFT+X on Mac OS X)

In both the combination you can select one or more character to convert.

  • Todd

    Great tip – Just what I was looking for today.

  • http://Website Chris

    I come back to this post about once a month, when I again have the need to clean up somebodies code (somebody that never cares about Coding Conventions)

  • http://www.daveoncode.com Davide Zanotti

    LOL, is not a difficult shortcut to remember :))

  • http://Website Alexis Pflaum

    Thanks, exactly what I was looking for. :-)

  • http://stackoverflow.com/users/148440/janek-bogucki Janek DB

    Thanks! Just what I needed.

  • http://Website Pete

    Anyone know if there’s a shortcut key to convert to camel case ?

    As in, “SOME TEXT” too “Some Text”

  • http://Website Lalith

    Thanks for this shortcut.. this has saved a lot of time for me, literally

  • http://Website en

    Thank you!

  • http://Website anurag

    thanks ,i needed this

  • http://Website Scott

    THANK YOU! Just what I needed at just the right time!

  • http://Website Deepesh

    Thanks for the useful information…

  • http://Website GK Agenda

    Anyone find camel case shortcut? As in comment #6?

  • http://ofs priya

    thanks1.. very useful

  • saurabh Solanki

    thanks

  • http://j4y.net j4y

    just helped out my coworker with this. Thanks!

    Also, on osx it’s command+shift X or Y

  • Rajesh

    Thank you!

  • Jeffrey

    Perfect :) Thanks for the tip

  • http://www.voom.net John McGehee

    Excellent. Thanks.

  • http://lenzcom.de Daniel Lenz

    Wooooohoooow! :P You saved my day!

  • Best

    That’s brilliant, thanks!

  • Jozsef

    Works in Aptana Studio 3 as well.
    Thanks! :)

  • http://jaybill.com jaybill

    You are a hero among men.

  • Steve

    The post that keeps on giving. Thanks…

  • Eric Minor

    Wow….been coding for years and recently a lot of my code depends on capitalization. This will sure help. It worked on a Windows 7 OS as well in eclipse.

  • Jan

    Hello Davide,
    thank you very much for sharing the shortcuts. This is just what I was looking for. Greetings from Germany,
    Jan

  • Arnav

    Exactly what I was looking for.
    Thanks

  • Ilan Cohen

    One more expression of gratitude….

  • John

    thanks, that was really helpful!

  • Nico

    OH. THANK. YOU !

  • http://betweengo.com/ Frank Kim

    Awesome shortcut!

  • Vikash

    Thanks a lot I was looking for that for many years…….

  • http://cadorland.com cador

    Anyone find camel case shortcut? As in comment #12?

  • dharmender

    thanks :) very useful shortcuts

  • Raghu

    Excellent! thank you :)

  • http://www.bloginista.de Massimiliano

    That is exactly what I was looking for… Thank you!

  • http://www.nielsdequeker.be Voles

    Thank you!

  • Aravindan

    What abt for Windows 7?

  • http://www.daveoncode.com Davide Zanotti

    it should be the same

  • http://gravatar.com/shahjapan shahjapan

    Nice one – Thanks

  • http://gravatar.com/schiffsratte schiffsratte

    For camel case try shift+ctrl+ –
    In Apana (maybe also Eclipse) it’s in Commands -> Source -> Toggle Camel Case

  • http://iwih.wordpress.com IWIH

    Thank you!

  • Mohan

    Very Helpful Tip

  • Edenir

    Great tip!

  • kazi

    very helpful

  • http://vintagework.com Bla Kov

    Thanks for saving me time :)

  • Raj

    Thanks. Very Helpful…

  • Gofa

    Coool! :)

  • https://plus.google.com/110769751007370170158 Neelesh Desai

    Many thanks!!!

  • Tok Wei An

    You saved my day! Thanks so much

  • camden_kid

    Cheers.

  • https://plus.google.com/115935952747608793761 Keith Yamry

    Thanks Dave! woo!

  • http://campusjazz.wordpress.com Campus Jazz

    Love this. Thanks man

  • Gabo

    this is not working on mac os x (10.9.4)

  • Manish

    Thanks a lot ! :D

  • toubacol

    thanks man …