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
- Ask Cursor to update the UI with shadcn.
- 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