0.48.2 option for "revert changes" popup missing

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:

  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. 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.
  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.

3 Likes