Step by step:
- Select the text in a file
- From the "Search" menu, select "File...". This will bring up the "Search" dialog box.
- At the bottom of the dialog, click "Replace..."
- This will bring up the "Replace" dialog box where you can type in your replacement text and replace individual occurrences or all occurrences.
I was having trouble finding this. Very useful for large projects.
I'll second that, cheers! I was about to hunt for some sort of plugin to do global search and replace!
I wonder if there is any way to do refactoring across multiple projects, ie. update import statements, references in dependent projects etc?
thanx. that was what i was looking for... sometimes you just need to look a few more seconds :)
Hi...I am developing an application in eclipse rcp.I want to implement this multifile search functionality as is in eclipse in my application.can you help me with what plugins I should use.
Thanks so much. This tip has saved me a ton of time.
why do they try to hide such a useful button? >_<
well, Eclipse UX sucks. Thanks for revealing this so hidden (really) functionality
'have been using Eclipse for 12months and you have finally shown me how to do File-S/R... Thanks!
Wonderful tip !!
Thanks for sharing the hidden function in eclipse
Yes thank you :) I was having trouble find it also. I think they might be trying to save us from accidentally replacing content in a ton of files we weren't expecting. A bit of a sanity check before doing the replace. They could accomplish the same thing with a warning message with the number of files that will be affected though :p
thanks so much ! Very useful tools
Thank and keep sharing
Thank you! This was very helpful.
I've been using Eclipse for two years, and never knew this was there!
Oh boy, I needed this, thanks!
Nice tip - not sure why I missed that! :S