How big is your project? Please try taking CPU snapshots when it runs slow - see https://intellij-support.jetbrains.com/hc/en-us/articles/207241235-Reporting-performance-problems
Also, I'd suggest excluding all folders dynamically generated by build tools (www, dist, etc) from your project (Mark directory as/Excluded). This would reduce the overall code base size and help to avoid project re-indexing while flashing generated files to disk


One big folder is node_modules.

Do you believe that this folder is the problem?


PS: I cannot mark this folder as Excluded because probably it is already excluded.


node_modules are auto-excluded by default - WebStorm excludes all indirect dependencies not listed in package.json.

Files generated by build tools may be a problem, especially if they are generated dynamically - as they might cause constant re-indexing


Please sign in to leave a comment.