Replace String in all files in Eclipse

RickMx picture RickMx · Jul 23, 2011 · Viewed 130.7k times · Source

Do you know how can I search an replace a String in all files of my current project?

Lets say I have this string "/sites/default/ now I want it to be "/public/sites/default

but there are almost 1000 files.

Answer

Tonny Madsen picture Tonny Madsen · Jul 23, 2011
  • "Search"->"File"
  • Enter text, file pattern and projects
  • "Replace"
  • Enter new text

Voilà...