I want to replace all instances of Foo.bar() with Foo across all files in my workspace in eclipse. Is there a way of doing this?
+3
A:
When you do a text-based search in eclipse (using the flashlight button at the top of the screen and selecting the right tab) there's a "Replace..." button at the bottom of the dialog. Press that, instead of search, and you can do a global find and replace.
Alternatively, you can use the refactoring feature to change it to something else.
Malaxeur
2009-12-09 20:31:40