限制加载文件

PhpStorm 使用教程 · 2019-01-09 11:35:19

Phpstorm算是编辑PHP代码一款比较好的工具,功能比较强大。但是若项目比较庞大,用起来就会感到很不流畅。这时我们可以将一些类似var、runtime、node_modules等文件夹限制加载,既能提高速度,又能在phpstorm里面看见。

位置

  1. 打开项目名称所在的文件夹

  2. 显示出隐藏文件(Linux系统Ctrl+H)

  3. 打开 .idea 文件下的.【项目名称】.iml

注意:都是隐藏文件

修改代码

<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
    <content url="file://$MODULE_DIR$">
        <excludeFolder url="file://$MODULE_DIR$/var"/>
        <excludeFolder url="file://$MODULE_DIR$/update"/>
        <excludeFolder url="file://$MODULE_DIR$/setup"/>
    </content>
</component>

根据自己项目改变 excludeFolder 标签内的路径。如图:

点击查看所有 PhpStorm 使用教程 文章: https://codercto.com/courses/l/1.html

查看所有标签

Software Engineering for Internet Applications

Software Engineering for Internet Applications

Eve Andersson、Philip Greenspun、Andrew Grumet / The MIT Press / 2006-03-06 / USD 35.00

After completing this self-contained course on server-based Internet applications software, students who start with only the knowledge of how to write and debug a computer program will have learned ho......一起来看看 《Software Engineering for Internet Applications》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

在线进制转换器
在线进制转换器

各进制数互转换器

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具