Continue without reverting

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

  1. Locate the file: For me it was the state.vscdb file in C:\Users\<NAME>\AppData\Roaming\Cursor\User\globalStorage folder
  2. :warning: Backup: Strongly recommend backing up the SQLite file before making any changes.
  3. Close Cursor completely.
  4. Open/connect to the file in an SQLite editor, I used DBeaver
  5. Navigate to the ItemTable table and search for dialogDontAskAgainPreferences or submit-from-previous-message, mine was under the the src.vs.platform.reactivestorage.browser.reactiveStorageServiceImpl.persistentStorage.applicationUser key
  6. Carefully modify the JSON value for just that key, changing {"submit-from-previous-message-2":true} to {"submit-from-previous-message-2":false}
  7. Save the changes to the SQLite file.
  8. Restart Cursor and test the scenario.
1 Like