|
|
@@ -201,11 +201,29 @@ export function activate(context: vscode.ExtensionContext) {
|
|
|
}
|
|
|
|
|
|
// Register code action commands
|
|
|
- registerCodeAction(context, "roo-cline.explainCode", "EXPLAIN")
|
|
|
+ registerCodeAction(
|
|
|
+ context,
|
|
|
+ "roo-cline.explainCode",
|
|
|
+ "EXPLAIN",
|
|
|
+ "What would you like Roo to explain?",
|
|
|
+ "E.g. How does the error handling work?",
|
|
|
+ )
|
|
|
|
|
|
- registerCodeAction(context, "roo-cline.fixCode", "FIX")
|
|
|
+ registerCodeAction(
|
|
|
+ context,
|
|
|
+ "roo-cline.fixCode",
|
|
|
+ "FIX",
|
|
|
+ "What would you like Roo to fix?",
|
|
|
+ "E.g. Maintain backward compatibility",
|
|
|
+ )
|
|
|
|
|
|
- registerCodeAction(context, "roo-cline.improveCode", "IMPROVE")
|
|
|
+ registerCodeAction(
|
|
|
+ context,
|
|
|
+ "roo-cline.improveCode",
|
|
|
+ "IMPROVE",
|
|
|
+ "What would you like Roo to improve?",
|
|
|
+ "E.g. Focus on performance optimization",
|
|
|
+ )
|
|
|
|
|
|
return createClineAPI(outputChannel, sidebarProvider)
|
|
|
}
|