Webstorm&phpstorm open Large Project card dead solution like Vue-laravel-yii2

Source: Internet
Author: User

When developing with Phpstorm, if too many files in the project can cause Phpstorm to slow down or even get stuck, especially when node joins our project, because there are so many modules in the Node_modules directory, Phpstorm loading these files will cause Phpstorm to die.

You can directoies the directory properties in the project settings to make the phpstorm work better.
You can divide the directory into 4 types of tests,sources,excluded,resource root.

If you feel the hassle of each configuration, you can save the. you-project-name.iml file in the. Idea directory, overwrite the past with the new project, and provide a directory configuration. Taking Laravel as an example

<?xml version= "1.0" encoding= "UTF-8"? ><module type= "Web_module" version= "4" > <component name= " Newmodulerootmanager "> <content url=" file://$MODULE _dir$ "> <sourcefolder url=" file://$MODULE _dir$/app " Istestsource= "false"/> <sourcefolder url= "file://$MODULE _dir$/tests" istestsource= "true"/> < Excludefolder url= "file://$MODULE _dir$/.idea"/> <excludefolder url= "file://$MODULE _dir$/node_modules"/> </content> <orderentry type= "inheritedjdk"/> <orderentry type= "Sourcefolder" fortests= "false"/> </component></module>

The correct labeling of the directory type allows phpstorm to optimize your project loading and phpstorm to reduce the system resources used by the IDE.

or set the Ignore load directory in the editor

If none of the above is working, then use the Vscode editor.

  

Webstorm&phpstorm open Large Project card dead solution like Vue-laravel-yii2

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.