From 72a832210aa4bd5591c797dd75ff2b5609d14a0e Mon Sep 17 00:00:00 2001 From: jdkato Date: Thu, 11 Aug 2022 13:32:28 -0700 Subject: [PATCH] Temporarily disabled actions --- src/features/vsProvider.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/features/vsProvider.ts b/src/features/vsProvider.ts index 30e8626..9c7427f 100644 --- a/src/features/vsProvider.ts +++ b/src/features/vsProvider.ts @@ -144,6 +144,13 @@ export default class ValeProvider implements vscode.CodeActionProvider { let diagnostic: vscode.Diagnostic = context.diagnostics[0]; let actions: vscode.CodeAction[] = []; + return actions; + + /* TODO: This needs more work / testing. + if (diagnostic === undefined) { + return actions; + } + let key = `${diagnostic.message}-${diagnostic.range}`; let alert = this.alertMap[key]; @@ -166,7 +173,7 @@ export default class ValeProvider implements vscode.CodeActionProvider { }; actions.push(action); - return actions; + return actions; */ } private runCodeAction(