Is there a way to find/replace across an entire pr

2019-01-08 10:21发布

问题:

I'm trying to do a find and replace over many files within an Eclipse project, but I can't seem to find a way to do it. Googling showed me that there are plug-ins that can accomplish this, but is there any built-in functionality in Eclipse? (It seems to be a pretty basic task; it's surprising me that I can't find a way to do it.)

回答1:

Search->File menu (also accessible using Ctrl+H, then navigate to File tab), enter the text to search for, hit the Replace... button which will give you another dialog where you can replace text.