From 9168219b829aab55fefcb114937d3fc196548cde Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Wed, 18 Oct 2023 23:02:37 -0700 Subject: Cleanup --- extension/src/lang-server/codeLens.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'extension/src/lang-server') diff --git a/extension/src/lang-server/codeLens.ts b/extension/src/lang-server/codeLens.ts index 6f36a6bd..5b2e4d99 100644 --- a/extension/src/lang-server/codeLens.ts +++ b/extension/src/lang-server/codeLens.ts @@ -25,12 +25,12 @@ class SuggestionsCodeLensProvider implements vscode.CodeLensProvider { codeLenses.push( new vscode.CodeLens(range, { title: "Accept ✅", - command: "continue.acceptSuggestion", + command: "sncontinue.acceptSuggestion", arguments: [suggestion], }), new vscode.CodeLens(range, { title: "Reject ❌", - command: "continue.rejectSuggestion", + command: "sncontinue.rejectSuggestion", arguments: [suggestion], }) ); @@ -63,17 +63,17 @@ class DiffViewerCodeLensProvider implements vscode.CodeLensProvider { codeLenses.push( new vscode.CodeLens(range, { title: `Accept All ✅ (${getMetaKeyLabel()}⇧↩)`, - command: "continue.acceptDiff", + command: "sncontinue.acceptDiff", arguments: [document.uri.fsPath], }), new vscode.CodeLens(range, { title: `Reject All ❌ (${getMetaKeyLabel()}⇧⌫)`, - command: "continue.rejectDiff", + command: "sncontinue.rejectDiff", arguments: [document.uri.fsPath], }), new vscode.CodeLens(range, { title: `Further Edit ✏️ (${getMetaKeyLabel()}⇧M)`, - command: "continue.focusContinueInputWithEdit", + command: "sncontinue.focusContinueInputWithEdit", }) ); return codeLenses; @@ -107,7 +107,7 @@ class ConfigPyCodeLensProvider implements vscode.CodeLensProvider { codeLenses.push( new vscode.CodeLens(range, { title: `+ Add a Model`, - command: "continue.addModel", + command: "sncontinue.addModel", }) ); } @@ -126,7 +126,7 @@ class ConfigPyCodeLensProvider implements vscode.CodeLensProvider { codeLenses.push( new vscode.CodeLens(range, { title: `✏️ Edit in UI`, - command: "continue.openSettingsUI", + command: "sncontinue.openSettingsUI", }) ); } -- cgit v1.2.3-70-g09d2