Monday, August 14, 2017

PhpStorm starts indexing files on each launch

Leave a Comment

I am not sure if this is desired behaviour, but PhpStorm (8.0.3) proceeds to index all files and directories each time I open the IDE. The indexing takes too long - half hour and more. During that time I'm not able to access many configuration options or use "Go to definition" option.

It is very irritating. Shouldn't PhpStorm somehow cache the indices so that it does not go through the whole process over and over again?

It seems that the problem grew over time and at this time it totally paralizes my ability to work on projects.

Is there a solution to it that you know of?

1 Answers

Answers 1

is this problem still current? It's more than year since question, so it could be fixed already.

There is no reliable way to say why it's happenings without seeing the logs.

You may try this:

  1. Close IDE (or this project at least)
  2. Backup and delete .idea subfolder (this project settings)
  3. Launch IDE and using "Open" point to the project root -- IDE will create new project from those files
  4. Reconfigure your project as needed
  5. Restart IDE / close-reopen project (do what you did in the past where it lead to project re-indexing)
  6. It's better now?
  7. If yes, and you have not re-configured ALL aspects of the project yet -- then you may re-use some of the files from previously made backup (while IDE/project is closed, of course)
If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment