-
Notifications
You must be signed in to change notification settings - Fork 2.6k
feat: add global command to toggle Auto-Approve with keybinding #8073
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -174,6 +174,11 @@ | |
| "command": "roo-cline.acceptInput", | ||
| "title": "%command.acceptInput.title%", | ||
| "category": "%configuration.title%" | ||
| }, | ||
| { | ||
| "command": "roo-cline.toggleAutoApprove", | ||
| "title": "%command.toggleAutoApprove.title%", | ||
| "category": "%configuration.title%" | ||
| } | ||
| ], | ||
| "menus": { | ||
|
|
@@ -310,6 +315,13 @@ | |
| "win": "ctrl+y", | ||
| "linux": "ctrl+y", | ||
| "when": "editorTextFocus && editorHasSelection" | ||
| }, | ||
| { | ||
| "command": "roo-cline.toggleAutoApprove", | ||
| "key": "ctrl+shift+a", | ||
| "mac": "cmd+shift+a", | ||
| "win": "ctrl+shift+a", | ||
| "linux": "ctrl+shift+a" | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The keybinding Ctrl+Shift+A (Cmd+Shift+A on Mac) might conflict with other extensions or VS Code defaults. While this works, consider documenting this in the README or checking for potential conflicts with common extensions. |
||
| } | ||
| ], | ||
| "submenus": [ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing unit tests for the new toggleAutoApprove command. Would be good to add tests similar to the existing getVisibleProviderOrLog tests to verify: