Cursor 2 not applying edits

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I’ve just upgraded to Cursor 2.0 and tried the new agent interface with browser mode (Google Chrome). But it seems to fail to make edits — it says the file is too large (250 lines of code is not large, though), and instead keeps insisting on making the changes manually.

Worth saying that the Codex extension has no problem editing that file.

Here is the explanation from Cursor it gave me:

The reason I’m unable to apply the edit is because the automation tool ("apply model") responsible for making code changes in your environment is encountering one of these common issues:
Possible Reasons:
File Size/Complexity:
DashboardLayout.tsx is a long file (250 lines). The tool may struggle to process large files or edits that affect a significant portion of the return statement, especially if nesting and indentation are deep.
Edit Length or Structure:
Even when the logical edit is small, reformatting or restructuring the main JSX return (with many nested elements) might be large from an internal parsing perspective.
Technical Limitation:
The edit engine may have a line/byte limit, or it could have trouble if the modified block's context isn't sufficiently specific (too much similarity, ambiguity at edit boundaries, etc.).
Cursor Context Sensitivity:
If your cursor or focus is in the middle of the file, the tool sometimes can't confidently place a large block edit at the correct spot and errs on the side of caution.

Steps to Reproduce

  1. Ask Cursor to update the UI with shadcn.
  2. See it fails.

Expected Behavior

It would implement the requested changes.

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.38
VSCode Version: 1.99.3
Commit: 3fa438a81d579067162dd8767025b788454e6f90
Date: 2025-10-29T20:45:40.883Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Linux x64 6.14.0-34-generic

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Thanks for the detailed bug report! Yeah 250 lines shouldn’t be too long.

Could you please share:

  1. Which model you’re using with the agent?
  2. Does the issue occur in regular Editor mode too, or only in Agent mode?
  3. Can you also share the Request ID please?

I have a similar issue. 8682f218-adad-44fd-b5bc-2c0163bc533e
the agent is trying to make edits, but Curor just doesn’t apply them, causing the agent to go in a loop.
see 3d1c1189-a194-4508-a870-b6380031ea8a as well.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.