No changes made, No content, Cannot create file

Previous similar posts remained abandoned.
I was hoping for an update that would solve the problem, but today’s update did not.

The recurring message I get is:

No changes made
No content
It seems there are issues editing the file using the tool. I’ll try a more targeted approach by analyzing smaller parts of the file.
Since it’s hard to edit the file using the editor tools, I’ll create a completely new implementation of the function.

The agent can neither edit the file nor create a new one.
I have uninstalled cursor, removed both the data and program folder, but it has not solved it.
I split the file I need to edit in two.
One of 971 lines and 32k, and the other of 1875 lines and 80k.



I found that the “No Changes Made” issue is largely related to the timeout for executing DIFF.
You can find the setting for this parameter here:
“File->Preferences->VS Code Settings->Text Editor->Diff Editor->Max Computation Time”
The default value is 5000 milliseconds.
After setting it to 0, the situation improves significantly.

However, in some cases, even this does not help.
It is likely that the optimization experts among the Cursor developers have over-optimized something else somewhere.

You may try this settings in settings.json:

{
“window.commandCenter”: true,
“update.releaseTrack”: “prerelease”,
“cursor.composer.shouldAllowCustomModes”: true,
“diffEditor.maxComputationTime”: 0,
“diffEditor.experimental.showMoves”: true,
“git.ignoreLimitWarning”: true,
“editor.colorDecoratorsLimit”: 500000,
“diffEditor.experimental.showMoves”: true,
“workbench.settings.applyToAllProfiles”: [
“diffEditor.ignoreTrimWhitespace”,
“diffEditor.experimental.showMoves”,
“diffEditor.diffAlgorithm”,
“diffEditor.experimental.useTrueInlineView”,
“diffEditor.hideUnchangedRegions.contextLineCount”,
“diffEditor.hideUnchangedRegions.revealLineCount”,
“diffEditor.maxComputationTime”,
“diffEditor.hideUnchangedRegions.enabled”,
“diffEditor.renderSideBySideInlineBreakpoint”,
“diffEditor.hideUnchangedRegions.minimumLineCount”,
“editor.minimap.maxColumn”,
“editor.maxTokenizationLineLength”,
“editor.foldingMaximumRegions”,
“diffEditor.maxFileSize”,
“json.maxItemsComputed”,
“editor.colorDecoratorsLimit”,
“editor.multiCursorLimit”,
“workbench.editor.limit.value”
“cursor.composer.shouldQueueWhenGenerating”,
“cursor.diffs.useCharacterLevelDiffs”,
“cursor.general.enableShadowWorkspace”,
“editor.experimentalEditContextEnabled”,
“python.analysis.cacheLSPData”,
“python.analysis.enableSyncServer”,
“python.analysis.supportRestructuredText”,
“accessibility.signals.diffLineDeleted”,
“accessibility.signals.diffLineInserted”,
“accessibility.signals.diffLineModified”,
“scm.diffDecorationsGutterPattern”
],
“diffEditor.maxFileSize”: 0,
“diffEditor.hideUnchangedRegions.contextLineCount”: 1,
“diffEditor.ignoreTrimWhitespace”: false,
“diffEditor.experimental.useTrueInlineView”: true,
“diffEditor.hideUnchangedRegions.revealLineCount”: 1,
“diffEditor.hideUnchangedRegions.enabled”: true,
“diffEditor.renderSideBySideInlineBreakpoint”: 90000,
“editor.minimap.maxColumn”: 120000,
“editor.maxTokenizationLineLength”: 2000000,
“editor.foldingMaximumRegions”: 65000,
“json.maxItemsComputed”: 500000,
“editor.colorDecoratorsLimit”: 50000,
“editor.multiCursorLimit”: 100000,
“workbench.editor.limit.value”: 100

"cursor.composer.shouldAllowCustomModes": true,
"cursor.composer.shouldQueueWhenGenerating": true,
"cursor.diffs.useCharacterLevelDiffs": true,
"cursor.general.enableShadowWorkspace": true,
"editor.experimentalEditContextEnabled": true,
"python.analysis.cacheLSPData": true,
"python.analysis.enableSyncServer": true,
"python.analysis.supportRestructuredText": true,
"accessibility.signals.diffLineDeleted": {
    "sound": "off"
},
"accessibility.signals.diffLineModified": {
    "sound": "off"
},
"accessibility.signals.diffLineInserted": {
    "sound": "off"
},
"scm.diffDecorationsGutterPattern": {
    "added": true
}

}

C:\Users<user name>\AppData\Roaming\Cursor\User

I had already tried ‘Max Computation Time = 0’ without success.
This also doesn’t work but I have doubts about the application, why does a part appear black?
I copied from the email I received from the forum but it is different from how it appears here.

My original file looks like this:

{
    "cmake.additionalCompilerSearchDirs": [
        "C:/msys64/mingw32/bin",
        "C:/msys64/clang32/bin",
        "C:/msys64/clang64/bin",
        "C:/msys64/clangarm64/bin",
        "C:/msys64/ucrt64/bin"
    ],
    "diffEditor.maxComputationTime": 0,
    "makefile.configureOnOpen": true,
    "arduinoMakerWorkshop.arduinoCLI.userDirectory": "D:\\Documenti\\Arduino\n\n"
}

I am trying this way:

{
    "cmake.additionalCompilerSearchDirs": [
        "C:/msys64/mingw32/bin",
        "C:/msys64/clang32/bin",
        "C:/msys64/clang64/bin",
        "C:/msys64/clangarm64/bin",
        "C:/msys64/ucrt64/bin"
    ],
    "diffEditor.maxComputationTime": 0,
    "makefile.configureOnOpen": true,
    "arduinoMakerWorkshop.arduinoCLI.userDirectory": "D:\\Documenti\\Arduino\n\n",


	"cursor.composer.shouldAllowCustomModes": true,
	"cursor.composer.shouldQueueWhenGenerating": true,
	"cursor.diffs.useCharacterLevelDiffs": true,
	"cursor.general.enableShadowWorkspace": true,
	"editor.experimentalEditContextEnabled": true,
	"python.analysis.cacheLSPData": true,
	"python.analysis.enableSyncServer": true,
	"python.analysis.supportRestructuredText": true,
	"accessibility.signals.diffLineDeleted": {
		"sound": "off"
	},
	"accessibility.signals.diffLineModified": {
		"sound": "off"
	},
	"accessibility.signals.diffLineInserted": {
		"sound": "off"
	},
	"scm.diffDecorationsGutterPattern": {
		"added": true
	}

}

I edited the Cursor configuration a couple of times.
Try combining your configuration with mine and it will be interesting.

This test not work.

There still seem to be problems with the editing tool. Let us try a different approach by using the search_replace tool to edit the file:

There seems to have been a problem with the replacement. Try using the search tool to find the file and then read it:

I can share the project privately if it would be useful.

Missing comma on this line ?

“workbench.editor.limit.value”: 100

Oh! Thank you!
I was merging two files manually and didn’t notice the issue with the comma.

Your problem with the file being unavailable is most likely due to the fact that this file needs to be added to the chat manually by dragging it with the mouse.
Unfortunately, this entire smart system for transferring the project structure doesn’t work very well.

I don’t understand, where did you read ‘file being unavailable’?
The file is both open in the editor and mentioned with @

If I add your json to mine, the editor puts it all over me, I don’t understand why it doesn’t like it.

Sorry, that’s right - it finds the files.
I rarely encounter the problem of disconnecting from the LLM server, although it does happen.
I mainly use the free Gemini 2.5 Flash and less often DeepSeek V3.1.
When I need to get the maximum result, I use Gemini 2.5 PRO.

If I have applied the file correctly as below, it does not work, it always gives the same errors.

{
    "cmake.additionalCompilerSearchDirs": [
        "C:/msys64/mingw32/bin",
        "C:/msys64/clang32/bin",
        "C:/msys64/clang64/bin",
        "C:/msys64/clangarm64/bin",
        "C:/msys64/ucrt64/bin"
    ],
    "makefile.configureOnOpen": true,
    "arduinoMakerWorkshop.arduinoCLI.userDirectory": "D:\\Documenti\\Arduino\n\n",

	“window.commandCenter”: true,
	“update.releaseTrack”: “prerelease”,
	“cursor.composer.shouldAllowCustomModes”: true,
	“diffEditor.maxComputationTime”: 0,
	“diffEditor.experimental.showMoves”: true,
	“git.ignoreLimitWarning”: true,
	“editor.colorDecoratorsLimit”: 500000,
	“diffEditor.experimental.showMoves”: true,
	“workbench.settings.applyToAllProfiles”: [
		“diffEditor.ignoreTrimWhitespace”,
		“diffEditor.experimental.showMoves”,
		“diffEditor.diffAlgorithm”,
		“diffEditor.experimental.useTrueInlineView”,
		“diffEditor.hideUnchangedRegions.contextLineCount”,
		“diffEditor.hideUnchangedRegions.revealLineCount”,
		“diffEditor.maxComputationTime”,
		“diffEditor.hideUnchangedRegions.enabled”,
		“diffEditor.renderSideBySideInlineBreakpoint”,
		“diffEditor.hideUnchangedRegions.minimumLineCount”,
		“editor.minimap.maxColumn”,
		“editor.maxTokenizationLineLength”,
		“editor.foldingMaximumRegions”,
		“diffEditor.maxFileSize”,
		“json.maxItemsComputed”,
		“editor.colorDecoratorsLimit”,
		“editor.multiCursorLimit”,
		“workbench.editor.limit.value”
		“cursor.composer.shouldQueueWhenGenerating”,
		“cursor.diffs.useCharacterLevelDiffs”,
		“cursor.general.enableShadowWorkspace”,
		“editor.experimentalEditContextEnabled”,
		“python.analysis.cacheLSPData”,
		“python.analysis.enableSyncServer”,
		“python.analysis.supportRestructuredText”,
		“accessibility.signals.diffLineDeleted”,
		“accessibility.signals.diffLineInserted”,
		“accessibility.signals.diffLineModified”,
		“scm.diffDecorationsGutterPattern”
	],
	“diffEditor.maxFileSize”: 0,
	“diffEditor.hideUnchangedRegions.contextLineCount”: 1,
	“diffEditor.ignoreTrimWhitespace”: false,
	“diffEditor.experimental.useTrueInlineView”: true,
	“diffEditor.hideUnchangedRegions.revealLineCount”: 1,
	“diffEditor.hideUnchangedRegions.enabled”: true,
	“diffEditor.renderSideBySideInlineBreakpoint”: 90000,
	“editor.minimap.maxColumn”: 120000,
	“editor.maxTokenizationLineLength”: 2000000,
	“editor.foldingMaximumRegions”: 65000,
	“json.maxItemsComputed”: 500000,
	“editor.colorDecoratorsLimit”: 50000,
	“editor.multiCursorLimit”: 100000,
	“workbench.editor.limit.value”: 100,

	"cursor.composer.shouldAllowCustomModes": true,
	"cursor.composer.shouldQueueWhenGenerating": true,
	"cursor.diffs.useCharacterLevelDiffs": true,
	"cursor.general.enableShadowWorkspace": true,
	"editor.experimentalEditContextEnabled": true,
	"python.analysis.cacheLSPData": true,
	"python.analysis.enableSyncServer": true,
	"python.analysis.supportRestructuredText": true,
	"accessibility.signals.diffLineDeleted": {
		"sound": "off"
	},
	"accessibility.signals.diffLineModified": {
		"sound": "off"
	},
	"accessibility.signals.diffLineInserted": {
		"sound": "off"
	},
	"scm.diffDecorationsGutterPattern": {
		"added": true
	}
}

Try using the TCP Optimizer utility: SpeedGuide.net :: TCP Optimizer / Downloads

There are many settings there - some improve connection stability.

I think you mean for the connection failed ?
It only does it to me when it’s afternoon here and the Americans are awake, in the morning it doesn’t do it, however that’s a minor problem compared to the fact that the cursor agent can no longer create or edit files.
I’m desperate, I can’t finish the current project.