Add Confirmation Dialog for "Undo All" to Prevent Accidental Clicks

Feature request for product/service

Cursor IDE

Describe the request

I’d like to suggest adding a confirmation dialog for the “Undo All” button.

Currently, the Undo All action immediately reverts all changes without any confirmation. Because this button is placed close to other actions in the UI, it’s very easy to accidentally click it. When this happens, all recent edits are instantly reverted, which can be extremely frustrating—especially after spending a long time reviewing or modifying code.

A simple confirmation prompt such as:

“Are you sure you want to undo all changes?”

would greatly reduce accidental clicks and prevent loss of work.

Alternatively, some possible improvements could be:

Add a confirmation dialog before executing Undo All

Allow users to disable confirmation in settings

Move the Undo All button further away from common actions

Add an optional “soft undo” history so users can recover after clicking it

This would significantly improve the user experience and prevent accidental loss of changes.

Thanks for considering this suggestion!

Operating System (if it applies)

MacOS