There is no UI or setting.json option to revert this. You will need to edit the SQLite state database directly.
I go into a bit more detail (and provide screenshots) here: 0.48.2 option for "revert changes" popup missing - #3 by dimitri-vs
- 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.
- 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.