Webstorm 2025 very slow with nx monorepo
Issue Summary: WebStorm has been experiencing significant performance issues for several months, specifically with autocomplete and "Go to Declaration" functionality. These features are consistently slow, often presenting a loading bar that requires manual cancellation. The rest of the IDE generally performs at an expected speed. A CPU snapshot has been captured to aid in diagnosis.
Environment:
- WebStorm Version: 2025.1.2
- Operating System: Windows 11
- System RAM: 32 GB
- WebStorm Allocated RAM: 4096 MiB
Project Details:
- Project Type: NX Monorepo
- Frameworks/Technologies: Angular (TypeScript, HTML, SCSS)
- Project Structure: Approximately 3 Angular applications and 33 libraries within the monorepo.
- Node.js Version: v23.11.0
- npm Version: 10.9.2
- Affected Files: All files are equally affected by the performance degradation.
- Relevant Tools/Configurations: Jest, ESLint, Prettier, Dockerfiles.
-
Installed Plugins:
- .env files
- Angular component folding
- GitHub Copilot
- JetBrains AI Assistant
- Nginx Configuration
- Nx Console
- Properties
- Test Automation
- XPathView + XSLT
Steps to Reproduce (Problem Description):
- Open any file within the NX monorepo (e.g., a TypeScript component, service, or HTML template).
-
For Autocomplete: Start typing to trigger autocomplete suggestions (e.g., typing a variable name, or after a dot
.
on an object). Observe the significant delay before suggestions appear or the UI freezes/hangs. -
For "Go to Declaration":
- Hover over a variable, function call, or class instance and click to navigate to its declaration (Ctrl+Click or Cmd+Click).
- Observe that a loading progress bar appears almost immediately. This bar typically loads indefinitely until manually cancelled by the user.
Expected Behavior:
- Autocomplete suggestions should appear almost instantly without noticeable delay or UI freezing.
- "Go to Declaration" should navigate to the declaration of the symbol immediately, without any loading progress bar.
Actual Behavior:
- Autocomplete is consistently slow; suggestions are delayed, making coding inefficient.
- "Go to Declaration" always triggers a loading bar that does not complete on its own and requires manual cancellation.
Troubleshooting Steps Already Taken:
- Frequent restarts of WebStorm.
- Installation of all available WebStorm updates.
- (CPU snapshot has been taken and will be attached.)
- Upload id: 2025_06_13_PgsHZNgsc9xTpSfXt94kzn (file: WS-251.26094.131__13.06.2025_08.29.16.zip)
请先登录再写评论。
I have the same problem. Only occurs in a Nx monorepo project with Angular and a number of node services and libraries.
I can confirm the exact same issue. I love webstorm but with a not even that big nx monorepo its unbearable.
Thanks for sharing the snapshot. It shows that most of the time is spent waiting for the response from TS language service. Please share the service logs after reproducing the issue so that we can investigate it.
To obtain the logs, please press
Shift
twice and typeregistry
. Open the Registry window and enable thejs.language.service.log.messages
option. Then, restart the IDE, reproduce the problem, and collect new IDE logs (Help | Collect Logs and Diagnostic Data).Thanks for the fast response. Here ist the complete dump: Upload id: 2025_07_09_LxVCKBBRRw9AhhAeYzNkPa (file: webstorm-logs-20250709-12203915971179349669369634.zip)