WebStorm Indexing Takes Forever

Share
Workaround available Windows, macOS, Linux Updated November 14, 2026How we research

Quick answer

Indexing time grows with project size and build output; let the current run finish, then exclude generated folders with Mark Directory As | Excluded.

Most likely fix: Exclude generated folders

How to fix it

Try these in order — the most common fix is first.

  1. 1. Exclude generated folders

    1. Open the Project tool window (Alt+1)
    2. Right-click the folder and choose Mark Directory As | Excluded
    3. Excluded folders are not indexed, so completion and navigation do not work inside them
    Did this fix it?
  2. 2. Pause indexing

    1. Click the progress in the status bar to open the Processes dialog
    2. The main analysis can be paused and resumed but not canceled; file scanning cannot be paused
    Did this fix it?
  3. 3. Let it finish first

    1. You cannot speed up a running analysis; wait for it to complete, then simplify the project to make the next one faster
    Did this fix it?

Symptoms

The status bar shows indexing or scanning for a long time and the IDE feels slow after builds or branch switches.

Why it happens

  • Very large project
  • Many files generated by a build or package install
  • Large external file changes
  • Generated folders (dist, build, caches) are not excluded

This guide also covers

  • webstorm indexing slow
  • webstorm indexing node_modules
  • webstorm stuck indexing

Still not working?

If WebStorm keeps failing, you're not alone. See every WebStorm problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us
Fixed it? Share this guide

The same problem in other apps

All slow, laggy or resource-hungry guides →

Other WebStorm errors