如何在Delphi 2006项目的所有文件中进行全局搜索和替换

时间:2021-11-27 20:13:11

Help !!!

I have just spent about 10 minutes looking for a way to do a search and replace over all the files in Delphi 2006 project.

我花了大约10分钟寻找一种方法来搜索和替换Delphi 2006项目中的所有文件。

Please can you tell how to do it

请问你能告诉我怎么做

6 个解决方案

#1


16  

I would use Grep Search from GExperts for this

我会使用GExperts的Grep搜索

#2


3  

As far as I know no such feature exists in D2006.

据我所知,D2006中没有这样的功能。

I use Notepad++ for that task.

我使用Notepad ++完成该任务。

#3


2  

Maybe you can use the Rename option in the Refactoring menu. It works on multiple files.

也许您可以在重构菜单中使用重命名选项。它适用于多个文件。

#4


0  

I use BK ReplaceEm V2.0

我使用BK ReplaceEm V2.0

Does the job.

这份工作。

Another great utility is WinMerge

另一个很棒的实用工具是WinMerge

#5


0  

GEExperts works very well on Delphi 7 (can't up-vote Marius because my reputation is low). Do a global search in the grep of GEExperts, then click "Replace". Pretty straightforward. Integrates directly into the IDE too.

GEExperts在Delphi 7上运行得非常好(因为我的声誉很低,所以无法向Marius投票)。在GEExperts的grep中进行全局搜索,然后单击“替换”。非常直截了当。也可以直接集成到IDE中。

#6


-1  

To search all the files in your project you can use:

要搜索项目中的所有文件,您可以使用:

Ctrl + Shift + F

Ctrl + Shift + F.

#1


16  

I would use Grep Search from GExperts for this

我会使用GExperts的Grep搜索

#2


3  

As far as I know no such feature exists in D2006.

据我所知,D2006中没有这样的功能。

I use Notepad++ for that task.

我使用Notepad ++完成该任务。

#3


2  

Maybe you can use the Rename option in the Refactoring menu. It works on multiple files.

也许您可以在重构菜单中使用重命名选项。它适用于多个文件。

#4


0  

I use BK ReplaceEm V2.0

我使用BK ReplaceEm V2.0

Does the job.

这份工作。

Another great utility is WinMerge

另一个很棒的实用工具是WinMerge

#5


0  

GEExperts works very well on Delphi 7 (can't up-vote Marius because my reputation is low). Do a global search in the grep of GEExperts, then click "Replace". Pretty straightforward. Integrates directly into the IDE too.

GEExperts在Delphi 7上运行得非常好(因为我的声誉很低,所以无法向Marius投票)。在GEExperts的grep中进行全局搜索,然后单击“替换”。非常直截了当。也可以直接集成到IDE中。

#6


-1  

To search all the files in your project you can use:

要搜索项目中的所有文件,您可以使用:

Ctrl + Shift + F

Ctrl + Shift + F.