限制加载文件
PhpStorm 使用教程
· 2019-01-09 11:35:19
Phpstorm算是编辑PHP代码一款比较好的工具,功能比较强大。但是若项目比较庞大,用起来就会感到很不流畅。这时我们可以将一些类似var、runtime、node_modules等文件夹限制加载,既能提高速度,又能在phpstorm里面看见。
位置
打开项目名称所在的文件夹
显示出隐藏文件(Linux系统Ctrl+H)
打开
.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
The Starfish and the Spider
Ori Brafman、Rod A. Beckstrom / Portfolio Hardcover / 2006-10-05 / USD 24.95
Understanding the amazing force that links some of today's most successful companies If you cut off a spider's leg, it's crippled; if you cut off its head, it dies. But if you cut off a st......一起来看看 《The Starfish and the Spider》 这本书的介绍吧!