PhpStorm keeps indexing over and over again

Answered

PhpStorm keeps reindexing over and over again.

Tried to restart the app, but wouldn't solve the problem.

35 comments
Comment actions Permalink

I'm still having this same problem. The darned thing keeps indexing, and it's starting to drive me a little nuts. I updated to 2020.1.2 this morning, but it's still doing it. I'm in the middle of typing some code, and I don't see it on the screen. Then I look down and the thing is indexing again. Why? I've done the invalidate caches, deleted the .ideas directory.... I'm on MacOS 10.15.4. 

0
Comment actions Permalink

remy.courteaud How/where can directories and files be excluded?

0
Comment actions Permalink

Pweil2 Maybe try to mark files or directories as excluded that don't need to be analyzed (like logs or builds).

On mac => Right click => mark directory as => excluded

Or through settings => Settings => Directories

0
Comment actions Permalink

Rémy

Thanks, I'm giving this a try. But some of my exclusions are just guesses. Does JetBrains have a general recommendation for excluding files in certain kinds of projects (mine is a Laravel/Vue app). I've been using PHPStorm for several years, and have never come across this problem before.

0
Comment actions Permalink

Pweil2 When I had the indexation issue (long time ago) the indexation wouldn't stop for a second. I guess if that's your case to there might be something else going on... Also I guess it depends on your computers CPU and RAM. In my projects (Symfony/ Webpack) I exclude all vendor directories, logs directories, and build directories (JS that constantly gets recompiled during developpement) because they will cause a lot of reindexation and I don't need IDE analysis (syntax and stuff) on these.

0

Please sign in to leave a comment.