简体   繁体   English

PHPStorm查找和替换完成 <head> 在所有项目文件中标记

[英]PHPStorm find and replace complete <head> tag in all the project files

I have got a bunch of HTML files from a client in a project. 我从项目中的客户端那里获得了一堆HTML文件。 All the html pages have the same header and footer div, I have modified the header in the homepage index.html file. 所有的html页面具有相同的页眉和页脚div,我已经修改了首页index.html文件中的页眉。 I want this modifed header to be replaced in all the html files in the project folder. 我希望在项目文件夹中的所有html文件中替换此修改后的标头。

How do I use phpstorm search and replace in all files to replace the whole with the one I modified? 如何使用phpstorm搜索并替换所有文件,以将整个文件替换为我修改的文件?

For mac, 对于Mac,

CMD + SHIFT + R CMD + SHIFT + R

Then you'll see the small page below. 然后,您将看到下面的小页面。

在此处输入图片说明

If there are lots of records, it may take a while to find all of them, though. 但是,如果有很多记录,可能要花一些时间才能找到所有记录。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM