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.

40 comments
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
Comment actions Permalink

Cardinal solution.
Resetting the cache didn't help me either.
But removing the following storm directories helped:

  • BEFORE DELETING, MAKE A BACKUP OF DIRECTORIES DATA!
  • If you keep your projects there, do not delete project files!
  • After removing, I lost some PHPStorm settings, but for that I can continue working on the project.
  • C:\Users\{UserName}\PHPStorm ...
  • C:\Users\{UserName}\AppData\Local\JetBrains
  • Be careful
0
Comment actions Permalink

This is incredibly surprising that the indexing issues have been persisted for 6years. I feel sad that I recommended buying this product in my company and now everyone in my team is just frustrated with this indexing issue despite having the latest version installed. All I see everywhere is "Invalidate Cache and Restart" but it does not work. Some solutions say Exclude the directories but still indexing happens every time. I have to keep the indexing program running overnight so that I can use the IDE next morning.

Sad part is if you don't index then Search doesn't work either.

0
Comment actions Permalink

There are no perfect products. PHPStorm the best I've seen and not expensive.
And the problem can be solved, described in a previous comment

0
Comment actions Permalink

That's odd we use PhpStorm in my company on many different computers with no issues.

0
Comment actions Permalink

Garad U, please contact support whenever you have issues, we can't fix a problem we are not aware of. Submitting your logs (Help | Collect Logs and Diagnostic Data) via Help | Contact Support is a good way to start. Thank you.

0
Comment actions Permalink

Yo tambien tenia el mismo problema, si lo solvente con "Invalidate Caches and Restart"
me ocurrio por tener el proyecto en un disco externo. 

-1
Comment actions Permalink

invalidate caches and restart just helped me, too

PhpStorm 2017.3.6
Build #PS-173.4674.46, built on March 15, 2018
JRE: 1.8.0_152-release-1024-b15 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.13.3

-1
Avatar
Vladimir Luchansky
Comment actions Permalink

@Jarek please update to 2018.1.6 - it contains tons of fixes compared with vanilla 2018.1 build.

-1
Comment actions Permalink

Anna, could you please install the latest PhpStorm version? (2019.1.2 or 2018.2.7 if you have to stick with 2018.2.*)

-1

Please sign in to leave a comment.