Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Code generation using Cmd+K gets stuck on “Generating …” after two lines when using Edit Selection. Single line generation, like asking Cursor to print hello world, still works. Code generation hangs for all tasks I’ve tried that require more than 2 lines of generation.
Steps to Reproduce
Code generation hangs after two lines on all .py and .ipynb files I tried.
I’ve tried completely clearing app data and redownloading Cursor but it did not fix the bug.
Expected Behavior
Supposed to complete generation and ask to Accept or Reject. Instead, it is stuck on “Generating…”.
Screenshots / Screen Recordings
Operating System
MacOS
Version Information
Version: 2.4.21
VSCode Version: 1.105.1
Commit: dc8361355d709f306d5159635a677a571b277bc0
Date: 2026-01-22T16:57:59.675Z (12 hrs ago)
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Darwin arm64 23.4.0
Does this stop you from using Cursor
Yes - Cursor is unusable



