Sorry to say that English is my second language.
I have created a new Laravel project and then composer install
and npm install
in iterm.
Then I want to open the project via PhpStorm but the IDE was too slow to open it. Time indexing the files was more than 1 hour!
I tried to increase the memory limit from 768mb to 2048mb but it has the same behavior. And added the node_modules
directory to the .gitignore
file but the same behavior.
The following is the phpstorm.voptions
file:
My OS is OSX 10.11.5, the java version is 1.8.0_91 64bit, PhpStorm version is 2016.1.2.
What can I do to solve it?
In addition to marking any node_modules folders as Excluded, I found the real trick was adding node_modules/ to your .gitignore
The IDE might stop indexing, but it seems like the git is still scanning for non indexed files? It has been really bad lately, but as soon as I added node_modules/ to my .gitignore, the IDE immediately got way snappier.