Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't find Eclipse shortcut for Renaming

Tags:

java

eclipse

Used to know this, think its something like Ctrl + ??? + F11. Or something.

I have a class member/property that I would like to change the name of. Unfortunately it is sprinkled all over the class, some 100+ references to it. Throughout the various methods.

Eclipse has a shortcut that allows you to click on an identifier, hit the hotkey (whatever it is), and then modify the text composing the identifier. Then, once you click off of that text, it searches and replaces all references of the "old" identifier and replaces them with the new one.

I know I could just do a search & replace. I don't want that. I want the shortcut/hotkey. And its driving me crazy because I can't find it because I don't know what it's called!

Thanks to any Eclipse gurus that can help.

like image 782
IAmYourFaja Avatar asked Sep 02 '11 14:09

IAmYourFaja


2 Answers

The shortcut combination is ALT + SHIFT + R.

like image 199
Petar Minchev Avatar answered Oct 04 '22 13:10

Petar Minchev


CTRL+SHIFT+L list of all shortcuts.

like image 40
oliholz Avatar answered Oct 04 '22 11:10

oliholz