summaryrefslogtreecommitdiff
path: root/extension/src/commands.ts
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-06-27 09:51:37 -0700
committerNate Sesti <sestinj@gmail.com>2023-06-27 09:51:37 -0700
commit4c832d0620ac4135b0a0bb94985ca92372dd5eb4 (patch)
tree53517bc9ddc521853f99e2a9ee3f6afc1c74e128 /extension/src/commands.ts
parent21110bb7277b09a40b367d336f9eb318a874426e (diff)
downloadsncontinue-4c832d0620ac4135b0a0bb94985ca92372dd5eb4.tar.gz
sncontinue-4c832d0620ac4135b0a0bb94985ca92372dd5eb4.tar.bz2
sncontinue-4c832d0620ac4135b0a0bb94985ca92372dd5eb4.zip
accept/reject all
Diffstat (limited to 'extension/src/commands.ts')
-rw-r--r--extension/src/commands.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/extension/src/commands.ts b/extension/src/commands.ts
index 22e15c43..424c238a 100644
--- a/extension/src/commands.ts
+++ b/extension/src/commands.ts
@@ -10,6 +10,8 @@ import {
rejectSuggestionCommand,
suggestionDownCommand,
suggestionUpCommand,
+ acceptAllSuggestionsCommand,
+ rejectAllSuggestionsCommand,
} from "./suggestions";
import * as bridge from "./bridge";
import { debugPanelWebview, setupDebugPanel } from "./debugPanel";
@@ -61,6 +63,8 @@ const commandsMap: { [command: string]: (...args: any) => any } = {
"continue.suggestionUp": suggestionUpCommand,
"continue.acceptSuggestion": acceptSuggestionCommand,
"continue.rejectSuggestion": rejectSuggestionCommand,
+ "continue.acceptAllSuggestions": acceptAllSuggestionsCommand,
+ "continue.rejectAllSuggestions": rejectAllSuggestionsCommand,
"continue.focusContinueInput": async () => {
vscode.commands.executeCommand("continue.continueGUIView.focus");
debugPanelWebview?.postMessage({