You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Enable the experimental unified diff strategy. This strategy might reduce the number of retries caused by model errors but may cause unexpected behavior or incorrect edits. Only enable if you understand the risks and are willing to carefully review all changes.",
"Use prompt enhancement to get tailored suggestions or improvements for your inputs. This ensures Roo understands your intent and provides the best possible responses. Available via the ✨ icon in chat.",
38
-
template: `Generate an enhanced version of this prompt (reply with only the enhanced prompt - no conversation, explanations, lead-in, bullet points, placeholders, or surrounding quotes):
39
-
35
+
label: "supportPrompt.ENHANCE.label",
36
+
description: "supportPrompt.ENHANCE.description",
37
+
template: `Generate an enhanced version of this prompt (reply with only the enhanced prompt - no conversation, explanations, lead-in, bullet points, or surrounding quotes):
40
38
\${userInput}`,
41
39
},
42
40
EXPLAIN: {
43
-
label: "Explain Code",
44
-
description:
45
-
"Get detailed explanations of code snippets, functions, or entire files. Useful for understanding complex code or learning new patterns. Available in code actions (lightbulb icon in the editor) and the editor context menu (right-click on selected code).",
41
+
label: "supportPrompt.EXPLAIN.label",
42
+
description: "supportPrompt.EXPLAIN.description",
46
43
template: `Explain the following code from file path @/\${filePath}:
47
44
\${userInput}
48
45
@@ -56,9 +53,8 @@ Please provide a clear and concise explanation of what this code does, including
56
53
3. Important patterns or techniques used`,
57
54
},
58
55
FIX: {
59
-
label: "Fix Issues",
60
-
description:
61
-
"Get help identifying and resolving bugs, errors, or code quality issues. Provides step-by-step guidance for fixing problems. Available in code actions (lightbulb icon in the editor) and the editor context menu (right-click on selected code).",
56
+
label: "supportPrompt.FIX.label",
57
+
description: "supportPrompt.FIX.description",
62
58
template: `Fix any issues in the following code from file path @/\${filePath}
63
59
\${diagnosticText}
64
60
\${userInput}
@@ -74,9 +70,8 @@ Please:
74
70
4. Explain what was fixed and why`,
75
71
},
76
72
IMPROVE: {
77
-
label: "Improve Code",
78
-
description:
79
-
"Receive suggestions for code optimization, better practices, and architectural improvements while maintaining functionality. Available in code actions (lightbulb icon in the editor) and the editor context menu (right-click on selected code).",
73
+
label: "supportPrompt.IMPROVE.label",
74
+
description: "supportPrompt.IMPROVE.description",
80
75
template: `Improve the following code from file path @/\${filePath}:
Provide the improved code along with explanations for each enhancement.`,
94
88
},
95
89
ADD_TO_CONTEXT: {
96
-
label: "Add to Context",
97
-
description:
98
-
"Add context to your current task or conversation. Useful for providing additional information or clarifications. Available in code actions (lightbulb icon in the editor). and the editor context menu (right-click on selected code).",
"Add terminal output to your current task or conversation. Useful for providing command outputs or logs. Available in the terminal context menu (right-click on selected terminal content).",
"Get help fixing terminal commands that failed or need improvement. Available in the terminal context menu (right-click on selected terminal content).",
"Get detailed explanations of terminal commands and their outputs. Available in the terminal context menu (right-click on selected terminal content).",
0 commit comments