We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33704dc commit 49803bfCopy full SHA for 49803bf
package.json
@@ -73,7 +73,7 @@
73
{
74
"command": "cline.mcpButtonClicked",
75
"title": "MCP Servers",
76
- "icon": "$(extensions)"
+ "icon": "$(server)"
77
},
78
79
"command": "cline.historyButtonClicked",
src/extension.ts
@@ -295,7 +295,12 @@ export function activate(context: vscode.ExtensionContext) {
295
arguments: [range, context.diagnostics],
296
}
297
298
- return [addAction, fixAction]
+ // Only show actions when there are errors
299
+ if (context.diagnostics.length > 0) {
300
+ return [addAction, fixAction]
301
+ } else {
302
+ return []
303
+ }
304
305
})(),
306
0 commit comments