Agent has stopped being able to edit any files in any of my projects

it was all working last night.

it can still read them, but just can’t edit.
Idon’t know what I’ve done. it started having failures with the CPP plugin so I rolled that back the the previous one. but I’m totally stuck. have I turned on the none-aget mode or some nonsense?

I’m on mac

cheers

2 Likes

Hi, have you tried restarting cursor and new chat? which Cursor version/patch are you using?

There are likely some details in the Developer Tools log. that might help pinpoint the cause.

are the cpp files larger than 1k lines? (some file types had more frequent issues

Overall the model tries to get things done and eventually has hard time doing it.

You can open the Terminal blocks to see if there were errors or something mentioned. perhaps check folder used etc.

Its uncommon that it doesnt work but in some circumstances it may happen.

Hi there.
I’ve restarted and also uninstalled then reinstalled (although it did seem to have my projects setup) is there a way of wiping out all the config etc?.
It is not working with small files.
I’ve tried multiple models.

Version: 0.48.7 (Universal)
VSCode Version: 1.96.2
Commit: 1d623c4cc1d3bb6e0fe4f1d5434b47b958b05870
Date: 2025-04-02T04:51:59.792Z
Electron: 34.3.4
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.3.0

Yes good question, thats possible.

Check docu, it has a basic AI that can answer such details. i compiled an answer for you

Do not remove any project files (against the AI suggestion, unless the cursorignore and cursorindexignore contain the file you wanted to have edited, can happen)

You may have had also the setting “outside workspace protection” in Cursor Features settings if the file was outside cursor project folder.

unfrtunately, that hasn’t helped. the edit tool still is non-functional

@danperks

Me too. edit_file is always failing.

SInce a day i get the issue too. With me, the agent says: “Internal Error on Edit Tool”.

it can read properly but writing is giving that error. The filesystem rights etc are all good (working in the same project)

I just checked and a new agent chat works, but the existing one broke, probably after the update of yesterday.

The Output (Window selection) gives me:

2025-04-08 09:14:31.490 [error] Cannot read properties of undefined (reading ‘isNotApplied’): TypeError: Cannot read properties of undefined (reading ‘isNotApplied’)
at Object.yi [as updateFunc] (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2998:52356)
at o (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2998:48333)
at vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2998:48585
at yl (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:63:6078)
at Object.fn (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:63:6330)
at UOi (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:63:9525)
at TV (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:63:9279)
at lce (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:63:11076)
at E1n (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:63:12507)
at vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:63:11932 Cannot read properties of undefined (reading ‘isNotApplied’)
2025-04-08 09:14:39.465 [error] Cannot read properties of undefined (reading ‘isNotApplied’): TypeError: Cannot read properties of undefined (reading ‘isNotApplied’)
at Object.yi [as updateFunc] (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2998:52356)
at o (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2998:48333)
at vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2998:48585
at yl (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:63:6078)
at Object.fn (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:63:6330)
at UOi (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:63:9525)
at TV (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:63:9279)
at lce (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:63:11076)
at E1n (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:63:12507)
at vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:63:11932 Cannot read properties of undefined (reading ‘isNotApplied’)
2025-04-08 09:14:46.313 [error] Cannot read properties of undefined (reading ‘isNotApplied’): TypeError: Cannot read properties of undefined (reading ‘isNotApplied’)
at Object.yi [as updateFunc] (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2998:52356)
at o (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2998:48333)
at vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2998:48585
at yl (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:63:6078)
at Object.fn (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:63:6330)
at UOi (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:63:9525)
at TV (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:63:9279)
at lce (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:63:11076)
at E1n (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:63:12507)
at vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:63:11932 Cannot read properties of undefined (reading ‘isNotApplied’)

perhaps this can help you guys at Cursor to pinpoint the problem?

I’m just glad I have my Cursor Convo Exporter extension to backup the chat, re-inject and keep going :slight_smile: