Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Find and Replace text in Eclipse

I am using eclipse IDE.I need to modify thousands of hbm.xml file by replacing the text generate="always" to generate="never". Please tell me the easiest way.

like image 829
user753527 Avatar asked May 17 '11 09:05

user753527


1 Answers

Click on the "Search" button, click on the "File Search" tab, set the filename to hbm.xml, set the text to generate="always" and click on the "Replace" button at the bottom. When it's search for all matches, it'll offer you another dialog to say what to replace it with.

like image 98
Jon Skeet Avatar answered Oct 14 '22 21:10

Jon Skeet