Reputation: 63
I'm using PhpStorm and recently it started to go extremely slow. I've got 32GM RAM, for PhpStorm I gave him 15GB - still not helped.
I've got folders excluded, I've tried to look for solution on official forums but answers from IntelliJ are literally useless.
Also whenever I restart PhpStorm it starts indexing again.. ( All of these issues showed with installation with last update. )
EDIT It shows up that it was due to last version update, I've just downgraded back to last 2019 and everything works.
Upvotes: 6
Views: 8830
Reputation: 1531
This worked for me, I hope it works for you too.
open Help | Edit Custom Properties add new properties:
sun.awt.windows.useCommonItemDialog=true
ide.win.file.chooser.native=true
restart the IDE
Upvotes: 1
Reputation: 4141
on Windows:
File -> settings -> Directories
rightclick on folders and mark desired as excluded
of indexing.
I did that for bootstrap
, vendor
(ohhh, heavy one), .idea
(probably),storage->framework->views
(cache, annoys when searching) and node_modules
(heavy one).
Reboot.
Now it works sufficiently faster as well as it loads .
Upvotes: 5
Reputation: 17289
first of all you need to install phpstan
package
composer require phpstan/phpstan --dev
and then exclude vendor
folder from phpstorm
Upvotes: -2
Reputation: 3988
I am having the same experience. There seems to be a significant slowdown in the processing/indexing of PHAR files within vendor.
Upvotes: 5