Yeah there might be some kind of bug where the “keep changes”/“dont revert” option is not being observed. See also these bug reports:
How to reset the dont ask again preference:
As far as I can tell there is no option via the UI to reset all configs/dialogs. And the preference isn’t stored in the settings.json
so you cant just modify that. You actually need to modify the SQLite database file used by Cursor (and VS Code) to store this kind of state, here is how:
- Locate the file: For me it was the
state.vscdb
file inC:\Users\<NAME>\AppData\Roaming\Cursor\User\globalStorage
folder Backup: Strongly recommend backing up the SQLite file before making any changes. Direct modification can easily corrupt your application’s state. Just copy and paste the file in the same directory to get a
state - Copy.vscdb
.- Close Cursor completely.
- Open/connect to the file in an SQLite editor, I used DBeaver
- Navigate to the
ItemTable
table and search fordialogDontAskAgainPreferences
orsubmit-from-previous-message
, mine was under the the src.vs.platform.reactivestorage.browser.reactiveStorageServiceImpl.persistentStorage.applicationUser key - Carefully modify the JSON value for just that key, changing
{"submit-from-previous-message-2":true}
to{"submit-from-previous-message-2":false}
- Save the changes to the SQLite file.
- Restart Cursor and test the scenario.