Possible Duplicate:
Eclipse Replace text in all Classes?
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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With