mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-26 01:11:20 +00:00
new: shortcut to create new task without prompt
This commit is contained in:
parent
343d5e9dcb
commit
d638b7caaa
21 changed files with 48 additions and 2 deletions
|
|
@ -44,6 +44,7 @@ export const commandIds = [
|
|||
"handleHumanRelayResponse",
|
||||
|
||||
"newTask",
|
||||
"newTask.noPrompt",
|
||||
|
||||
"setCustomStoragePath",
|
||||
"importSettings",
|
||||
|
|
|
|||
|
|
@ -151,6 +151,22 @@ const getCommandsMap = ({ context, outputChannel, provider }: RegisterCommandOpt
|
|||
unregisterHumanRelayCallback: unregisterHumanRelayCallback,
|
||||
handleHumanRelayResponse: handleHumanRelayResponse,
|
||||
newTask: handleNewTask,
|
||||
"newTask.noPrompt": async () => {
|
||||
const visibleProvider = getVisibleProviderOrLog(outputChannel)
|
||||
|
||||
if (!visibleProvider) {
|
||||
return
|
||||
}
|
||||
|
||||
TelemetryService.instance.captureTitleButtonClicked("plus")
|
||||
|
||||
await visibleProvider.removeClineFromStack()
|
||||
await visibleProvider.refreshWorkspace()
|
||||
await visibleProvider.postMessageToWebview({ type: "action", action: "chatButtonClicked" })
|
||||
// Send focusInput action immediately after chatButtonClicked
|
||||
// This ensures the focus happens after the view has switched
|
||||
await visibleProvider.postMessageToWebview({ type: "action", action: "focusInput" })
|
||||
},
|
||||
setCustomStoragePath: async () => {
|
||||
const { promptForCustomStoragePath } = await import("../utils/storage")
|
||||
await promptForCustomStoragePath()
|
||||
|
|
|
|||
|
|
@ -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%"
|
||||
}
|
||||
],
|
||||
"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": [
|
||||
{
|
||||
|
|
|
|||
1
src/package.nls.ca.json
generated
1
src/package.nls.ca.json
generated
|
|
@ -2,6 +2,7 @@
|
|||
"extension.displayName": "Roo Code",
|
||||
"extension.description": "Un equip complet de desenvolupament d'agents d'IA al teu editor.",
|
||||
"command.newTask.title": "Nova Tasca",
|
||||
"command.newTask.noPrompt.title": "Nova Tasca (Sense Prompt)",
|
||||
"command.explainCode.title": "Explicar Codi",
|
||||
"command.fixCode.title": "Corregir Codi",
|
||||
"command.improveCode.title": "Millorar Codi",
|
||||
|
|
|
|||
1
src/package.nls.de.json
generated
1
src/package.nls.de.json
generated
|
|
@ -2,6 +2,7 @@
|
|||
"extension.displayName": "Roo Code",
|
||||
"extension.description": "Ein komplettes KI-Agenten-Entwicklungsteam in deinem Editor.",
|
||||
"command.newTask.title": "Neue Aufgabe",
|
||||
"command.newTask.noPrompt.title": "Neue Aufgabe (ohne Prompt)",
|
||||
"command.explainCode.title": "Code Erklären",
|
||||
"command.fixCode.title": "Code Reparieren",
|
||||
"command.improveCode.title": "Code Verbessern",
|
||||
|
|
|
|||
1
src/package.nls.es.json
generated
1
src/package.nls.es.json
generated
|
|
@ -2,6 +2,7 @@
|
|||
"extension.displayName": "Roo Code",
|
||||
"extension.description": "Un equipo completo de desarrollo de agentes de IA en tu editor.",
|
||||
"command.newTask.title": "Nueva Tarea",
|
||||
"command.newTask.noPrompt.title": "Nueva Tarea (Sin Prompt)",
|
||||
"command.explainCode.title": "Explicar Código",
|
||||
"command.fixCode.title": "Corregir Código",
|
||||
"command.improveCode.title": "Mejorar Código",
|
||||
|
|
|
|||
1
src/package.nls.fr.json
generated
1
src/package.nls.fr.json
generated
|
|
@ -2,6 +2,7 @@
|
|||
"extension.displayName": "Roo Code",
|
||||
"extension.description": "Une équipe complète de développement d'agents IA dans votre éditeur.",
|
||||
"command.newTask.title": "Nouvelle Tâche",
|
||||
"command.newTask.noPrompt.title": "Nouvelle Tâche (Sans Prompt)",
|
||||
"command.explainCode.title": "Expliquer le Code",
|
||||
"command.fixCode.title": "Corriger le Code",
|
||||
"command.improveCode.title": "Améliorer le Code",
|
||||
|
|
|
|||
1
src/package.nls.hi.json
generated
1
src/package.nls.hi.json
generated
|
|
@ -2,6 +2,7 @@
|
|||
"extension.displayName": "Roo Code",
|
||||
"extension.description": "आपके एडिटर में एआई एजेंट्स की पूरी डेवलपमेंट टीम।",
|
||||
"command.newTask.title": "नया कार्य",
|
||||
"command.newTask.noPrompt.title": "नया कार्य (बिना Prompt)",
|
||||
"command.explainCode.title": "कोड समझाएं",
|
||||
"command.fixCode.title": "कोड ठीक करें",
|
||||
"command.improveCode.title": "कोड सुधारें",
|
||||
|
|
|
|||
1
src/package.nls.id.json
generated
1
src/package.nls.id.json
generated
|
|
@ -6,6 +6,7 @@
|
|||
"views.activitybar.title": "Roo Code",
|
||||
"views.sidebar.name": "Roo Code",
|
||||
"command.newTask.title": "Tugas Baru",
|
||||
"command.newTask.noPrompt.title": "Tugas Baru (Tanpa Prompt)",
|
||||
"command.history.title": "Riwayat Tugas",
|
||||
"command.marketplace.title": "Marketplace",
|
||||
"command.openInEditor.title": "Buka di Editor",
|
||||
|
|
|
|||
1
src/package.nls.it.json
generated
1
src/package.nls.it.json
generated
|
|
@ -2,6 +2,7 @@
|
|||
"extension.displayName": "Roo Code",
|
||||
"extension.description": "Un intero team di sviluppo di agenti IA nel tuo editor.",
|
||||
"command.newTask.title": "Nuovo Task",
|
||||
"command.newTask.noPrompt.title": "Nuovo Task (Senza Prompt)",
|
||||
"command.explainCode.title": "Spiega Codice",
|
||||
"command.fixCode.title": "Correggi Codice",
|
||||
"command.improveCode.title": "Migliora Codice",
|
||||
|
|
|
|||
1
src/package.nls.ja.json
generated
1
src/package.nls.ja.json
generated
|
|
@ -6,6 +6,7 @@
|
|||
"views.activitybar.title": "Roo Code",
|
||||
"views.sidebar.name": "Roo Code",
|
||||
"command.newTask.title": "新しいタスク",
|
||||
"command.newTask.noPrompt.title": "新しいタスク(Prompt なし)",
|
||||
"command.history.title": "タスク履歴",
|
||||
"command.marketplace.title": "マーケットプレイス",
|
||||
"command.openInEditor.title": "エディタで開く",
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
"views.activitybar.title": "Roo Code",
|
||||
"views.sidebar.name": "Roo Code",
|
||||
"command.newTask.title": "New Task",
|
||||
"command.newTask.noPrompt.title": "New Task (No Prompt)",
|
||||
"command.history.title": "Task History",
|
||||
"command.marketplace.title": "Marketplace",
|
||||
"command.openInEditor.title": "Open in Editor",
|
||||
|
|
|
|||
1
src/package.nls.ko.json
generated
1
src/package.nls.ko.json
generated
|
|
@ -2,6 +2,7 @@
|
|||
"extension.displayName": "Roo Code",
|
||||
"extension.description": "에디터에서 작동하는 AI 에이전트 개발팀.",
|
||||
"command.newTask.title": "새 작업",
|
||||
"command.newTask.noPrompt.title": "새 작업(Prompt 없음)",
|
||||
"command.explainCode.title": "코드 설명",
|
||||
"command.fixCode.title": "코드 수정",
|
||||
"command.improveCode.title": "코드 개선",
|
||||
|
|
|
|||
1
src/package.nls.nl.json
generated
1
src/package.nls.nl.json
generated
|
|
@ -6,6 +6,7 @@
|
|||
"views.activitybar.title": "Roo Code",
|
||||
"views.sidebar.name": "Roo Code",
|
||||
"command.newTask.title": "Nieuwe Taak",
|
||||
"command.newTask.noPrompt.title": "Nieuwe Taak (Zonder Prompt)",
|
||||
"command.history.title": "Taakgeschiedenis",
|
||||
"command.marketplace.title": "Marktplaats",
|
||||
"command.openInEditor.title": "Openen in Editor",
|
||||
|
|
|
|||
1
src/package.nls.pl.json
generated
1
src/package.nls.pl.json
generated
|
|
@ -2,6 +2,7 @@
|
|||
"extension.displayName": "Roo Code",
|
||||
"extension.description": "Pełny zespół programistów AI w twoim edytorze.",
|
||||
"command.newTask.title": "Nowe Zadanie",
|
||||
"command.newTask.noPrompt.title": "Nowe Zadanie (Bez Prompt)",
|
||||
"command.explainCode.title": "Wyjaśnij Kod",
|
||||
"command.fixCode.title": "Napraw Kod",
|
||||
"command.improveCode.title": "Ulepsz Kod",
|
||||
|
|
|
|||
1
src/package.nls.pt-BR.json
generated
1
src/package.nls.pt-BR.json
generated
|
|
@ -2,6 +2,7 @@
|
|||
"extension.displayName": "Roo Code",
|
||||
"extension.description": "Uma equipe completa de desenvolvimento de agentes de IA no seu editor.",
|
||||
"command.newTask.title": "Nova Tarefa",
|
||||
"command.newTask.noPrompt.title": "Nova Tarefa (Sem Prompt)",
|
||||
"command.explainCode.title": "Explicar Código",
|
||||
"command.fixCode.title": "Corrigir Código",
|
||||
"command.improveCode.title": "Melhorar Código",
|
||||
|
|
|
|||
1
src/package.nls.ru.json
generated
1
src/package.nls.ru.json
generated
|
|
@ -6,6 +6,7 @@
|
|||
"views.activitybar.title": "Roo Code",
|
||||
"views.sidebar.name": "Roo Code",
|
||||
"command.newTask.title": "Новая задача",
|
||||
"command.newTask.noPrompt.title": "Новая задача (без Prompt)",
|
||||
"command.history.title": "История задач",
|
||||
"command.marketplace.title": "Маркетплейс",
|
||||
"command.openInEditor.title": "Открыть в редакторе",
|
||||
|
|
|
|||
1
src/package.nls.tr.json
generated
1
src/package.nls.tr.json
generated
|
|
@ -2,6 +2,7 @@
|
|||
"extension.displayName": "Roo Code",
|
||||
"extension.description": "Düzenleyicinde tam bir AI ajanları geliştirme ekibi.",
|
||||
"command.newTask.title": "Yeni Görev",
|
||||
"command.newTask.noPrompt.title": "Yeni Görev (Prompt olmadan)",
|
||||
"command.explainCode.title": "Kodu Açıkla",
|
||||
"command.fixCode.title": "Kodu Düzelt",
|
||||
"command.improveCode.title": "Kodu İyileştir",
|
||||
|
|
|
|||
1
src/package.nls.vi.json
generated
1
src/package.nls.vi.json
generated
|
|
@ -2,6 +2,7 @@
|
|||
"extension.displayName": "Roo Code",
|
||||
"extension.description": "Một đội ngũ phát triển các tác nhân AI hoàn chỉnh trong trình soạn thảo của bạn.",
|
||||
"command.newTask.title": "Tác Vụ Mới",
|
||||
"command.newTask.noPrompt.title": "Tác Vụ Mới (Không Prompt)",
|
||||
"command.explainCode.title": "Giải Thích Mã",
|
||||
"command.fixCode.title": "Sửa Mã",
|
||||
"command.improveCode.title": "Cải Thiện Mã",
|
||||
|
|
|
|||
1
src/package.nls.zh-CN.json
generated
1
src/package.nls.zh-CN.json
generated
|
|
@ -2,6 +2,7 @@
|
|||
"extension.displayName": "Roo Code",
|
||||
"extension.description": "在你的编辑器中提供完整的 AI 代理开发团队。",
|
||||
"command.newTask.title": "新建任务",
|
||||
"command.newTask.noPrompt.title": "新建任务(无 Prompt)",
|
||||
"command.explainCode.title": "解释代码",
|
||||
"command.fixCode.title": "修复代码",
|
||||
"command.improveCode.title": "改进代码",
|
||||
|
|
|
|||
1
src/package.nls.zh-TW.json
generated
1
src/package.nls.zh-TW.json
generated
|
|
@ -2,6 +2,7 @@
|
|||
"extension.displayName": "Roo Code",
|
||||
"extension.description": "在你的編輯器中提供完整的 AI 代理開發團隊。",
|
||||
"command.newTask.title": "新建任務",
|
||||
"command.newTask.noPrompt.title": "新建任務(無 Prompt)",
|
||||
"command.explainCode.title": "解釋程式碼",
|
||||
"command.fixCode.title": "修復程式碼",
|
||||
"command.improveCode.title": "改進程式碼",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue