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

How to restrict loading files in Phpstorm

藏色散人
Release: 2021-05-14 18:04:32
forward
2682 people have browsed it

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>
Copy after login

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!

Related labels:
source:segmentfault.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template