Within PhpStorm 2018.1.6 I've got a directory x
which I have excluded using Settings | Directories -> Exclude directory x
. PhpStorm takes care of most of the directories which I have excluded but not this one. While I am editing/creating PHP tests PhpStorm constantly is busy with indexing this directory.
Directory x
is part of an imported project.
Is there any reason which PhpStorm can have to exclude an excluded directory and indexes it as well? The indexing process takes forever.
Things to try (from Jetbrain team):
Remove "Add packages as libraries" checkbox at Preferences
|
Languages & Frameworks
| PHP
| Composer
(click Ok to save).
Check that you don't have those excluded directories added as include path
at Preferences | Languages & Frameworks | PHP
afterward.
Test by rebuilding cache File
| Invalidate Caches / Restart...
I encountered this problem when I had the root project path listed in the include path
and filed it as a bug and they suggested these things.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With