Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse: how to rename a class name globally?

 
Chrix Wu
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,

i want to rename a variable/class gobally, in the whole project, is that possible?

i use shift+alt+r, but the renaming is only in the class scope.

please suggest, thanks.

 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have a check mark in "Update references" it should do it.

Otherwise you can do a File Search (Search->File...) and then replace the found context.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic