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