Home  >  Article  >  Development Tools  >  How to restrict loading files in Phpstorm

How to restrict loading files in Phpstorm

藏色散人
藏色散人forward
2021-05-14 15:19:102519browse

The following is an introduction to Phpstorm-restricted loading files from the tutorial column of phpstorm. I hope it will be helpful to friends in need!

Phpstorm-Restrict loading files

Preface

Phpstorm is a better tool for editing PHP code and has a relatively powerful function. However, if the project is relatively large, it will feel very unsmooth to use. At this time, we can restrict the loading of some folders such as var, runtime, node_modules, etc., which can not only improve the speed, but also be visible in phpstorm.

Location

  • Open the folder where the project name is located

  • Show hidden files (Linux system Ctrl H)

  • Open the .[Project name].iml under the .idea file

##Note: They are all hidden files

Code

<module>
    <component>
        <content>
            <excludefolder></excludefolder>
            <excludefolder></excludefolder>
            <excludefolder></excludefolder>
        </content>
    </component></module>

Change the path in the excludeFolder tag according to your own project. As shown in the picture:


How to restrict loading files in Phpstorm

The above is the detailed content of How to restrict loading files in Phpstorm. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:segmentfault.com. If there is any infringement, please contact admin@php.cn delete