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
- Add new command registration and menu item
- Add new code action type and command ID
- Add support prompt config for adding code to context
- Add message handling in webview for setting chat box content
- Add logic to append selected code to existing chat input
"Get detailed explanations of code snippets, functions, or entire files. Useful for understanding complex code or learning new patterns. Available in the editor context menu (right-click on selected code).",
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).",
46
46
template: `Explain the following code from file path @/\${filePath}:
47
47
\${userInput}
48
48
@@ -58,7 +58,7 @@ Please provide a clear and concise explanation of what this code does, including
58
58
FIX: {
59
59
label: "Fix Issues",
60
60
description:
61
-
"Get help identifying and resolving bugs, errors, or code quality issues. Provides step-by-step guidance for fixing problems. Available in the editor context menu (right-click on selected code).",
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).",
62
62
template: `Fix any issues in the following code from file path @/\${filePath}
63
63
\${diagnosticText}
64
64
\${userInput}
@@ -76,7 +76,7 @@ Please:
76
76
IMPROVE: {
77
77
label: "Improve Code",
78
78
description:
79
-
"Receive suggestions for code optimization, better practices, and architectural improvements while maintaining functionality. Available in the editor context menu (right-click on selected code).",
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).",
80
80
template: `Improve the following code from file path @/\${filePath}:
Provide the improved code along with explanations for each enhancement.`,
94
94
},
95
+
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).",
0 commit comments