Describe the Bug
Title: Persistent editor UI lag + “Loading…” overlay while language service analyzes unrelated files — survives hardware upgrade (M5)
Where does the bug appear (feature/product)?
Cursor IDE editor UI (main window), especially with Agent chat open and a multi-root workspace.
Describe the Bug
The editor becomes sluggish / briefly unresponsive while editing small files. Symptoms:
- A “Loading…” popup appears over the editor tab bar (UI feels blocked).
- Status bar shows long-running analysis of an unrelated file, e.g.
Analyzing 'convert.js' and its dependencies
while the focused file is a tiny theme palette (newPalette.jsx, ~76 lines / ~1.5KB). - Typing / switching tabs feels delayed during this analysis.
- This is a long-standing issue (months). Upgraded from a weaker Mac to a MacBook Pro Apple M5 / 16GB — same lag. Strongly suggests product/architecture issue (indexing, language service, Agent/chat UI), not machine power.
Steps to Reproduce
- Open a large monorepo (or multi-root workspace with several large repos).
- Open Agent chat (Agent mode).
- Open a small JS/JSX file (e.g. a theme constants file).
- Optionally have other large domain files in the project (e.g. builder utils).
- Observe status bar: language service analyzing unrelated large dependency graphs.
- Observe “Loading…” overlay and editor lag.
Expected Behavior
- Editing a tiny file should stay responsive.
- Background analysis of other files should not freeze or overlay-block the editor UI.
- Stronger hardware should improve or eliminate this; it does not.
Actual Behavior
- Editor lag / “Loading…” overlay.
- Status bar stuck on analyzing unrelated files (
convert.jsand dependencies). - Same behavior after upgrading to Apple M5 MacBook Pro.
Screenshots / Screen Recording
Attached screenshots showing:
- Focused file:
packages/theme/src/nxtg/colors/newPalette.jsx - Overlay:
Loading... - Status bar:
Analyzing 'convert.js' and its dependencies - Multi-root workspace (
UNTITLED (WORKSPACE)) - Agent panel open
Operating System
macOS 26.6.2 (Build 25G83)
Version of Cursor
3.27.22
Hardware
MacBook Pro — Apple M5, 10-core, 16 GB (upgraded machine; issue predated upgrade)
Additional context
- Multi-root workspace (several large repos open together).
- Agent + review/diff UI (“Keep all changes” / “Review Next File”) active.
- Problems: 10 / Comments: 4 visible.
- Related forum threads (similar freezes/lag): editor freezes with Agent chat history; severe slowdowns.
Debug data (please attach after posting)
Cmd+Shift+P→ Developer: Capture and Send Debugging Data- During lag:
Cmd+Shift+P→ Capture CPU Profile (~15–20s), then stop and attach - If fully frozen: Terminal →
sample Cursor 10 -file ~/cursor-freeze-sample.txtand attach
Steps to Reproduce
when clck to import path if used quick redirect to file from import Loading and not redirect
Operating System
MacOS
Version Information
Version: 3.27.22
VS Code Extension API: 1.128.0
Commit: b1aa50cb6db84fd3e8c808259cb172ea73425c10
Date: 2026-10-27T00:33:02.045Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 42.11.16
Chromium: 148.0.7778.280
Node.js: 24.19.0
V8: 14.8.178.38-electron.0
xterm.js: 6.1.0-beta.291
OS: Darwin arm64 25.6.0
Does this stop you from using Cursor
Yes - Cursor is unusable