Feature request for product/service
Cursor IDE
Describe the request
Our company tracks coding metrics that are only populated when code changes are accepted via “Keep All”. Currently this requires manual intervention for every set of proposed changes.
Problem
There’s no way to automatically accept proposed changes or programmatically trigger “Keep All”:
- No keyboard shortcut is registered for “Keep All” in the Keybindings settings
- The command isn’t exposed to the VS Code extension API (verified by listing all available commands)
Proposed Solutions (any of these would work)
- Add an “Auto-Keep” setting - Automatically accept all proposed changes without requiring manual confirmation
- Expose “Keep All” as a command - Register something like composer.keepAll or cursor.keepAllChanges so it can be:
- Bound to a keyboard shortcut
- Called from extensions
- Automated via scripting
What I Tried
Built a VS Code extension that polls for keep-related commands, but none of the available commands (editor.action.inlineDiffs.acceptAll, chatEditing.acceptAllFiles, etc.) trigger the “Keep All” functionality.