-
Notifications
You must be signed in to change notification settings - Fork 2.7k
new: shortcut to create new task without prompt #10080
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -169,7 +169,12 @@ | |
| "command": "roo-cline.toggleAutoApprove", | ||
| "title": "%command.toggleAutoApprove.title%", | ||
| "category": "%configuration.title%" | ||
| } | ||
| }, | ||
| { | ||
| "command": "roo-cline.newTask.noPrompt", | ||
| "title": "%command.newTask.noPrompt.title%", | ||
| "category": "%configuration.title%" | ||
| } | ||
|
Comment on lines
+173
to
+177
Contributor
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. Minor formatting issue: these lines use 4 spaces for indentation while the rest of the file uses tabs. This inconsistency also appears in the new keybinding entry (lines 301-306). Consider reformatting to use tabs for consistency. Fix it with Roo Code or mention @roomote and request a fix. |
||
| ], | ||
| "menus": { | ||
| "editor/context": [ | ||
|
|
@@ -292,7 +297,13 @@ | |
| "mac": "cmd+alt+a", | ||
| "win": "ctrl+alt+a", | ||
| "linux": "ctrl+alt+a" | ||
| } | ||
| }, | ||
| { | ||
| "command": "roo-cline.newTask.noPrompt", | ||
| "key": "ctrl+m ctrl+n", | ||
| "mac": "cmd+m cmd+n", | ||
| "when": "roo-cline.sidebar.visible" | ||
| } | ||
| ], | ||
| "submenus": [ | ||
| { | ||
|
|
||
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.
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.
This implementation is identical to
plusButtonClicked(lines 88-103). Consider extracting the shared logic into a helper function to avoid duplication and simplify future maintenance. For example:Then both commands could use:
plusButtonClicked: handlePlusAction, "newTask.noPrompt": handlePlusActionFix it with Roo Code or mention @roomote and request a fix.