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!
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:
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!