diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-07-04 22:39:52 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-07-04 22:39:52 -0700 |
commit | c2743058a79e8e998b9e9a9e2fa4c79f53e52af3 (patch) | |
tree | ca25214dc3ed823a0b535fd6cd7f6c89b782aa9a /extension/src/commands.ts | |
parent | 35f5beabe55c59149ad0a6e4eb242fbc5352bf2e (diff) | |
download | sncontinue-c2743058a79e8e998b9e9a9e2fa4c79f53e52af3.tar.gz sncontinue-c2743058a79e8e998b9e9a9e2fa4c79f53e52af3.tar.bz2 sncontinue-c2743058a79e8e998b9e9a9e2fa4c79f53e52af3.zip |
side-by-side diff editor
Diffstat (limited to 'extension/src/commands.ts')
-rw-r--r-- | extension/src/commands.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extension/src/commands.ts b/extension/src/commands.ts index 8072353b..4414a171 100644 --- a/extension/src/commands.ts +++ b/extension/src/commands.ts @@ -12,6 +12,8 @@ import { acceptAllSuggestionsCommand, rejectAllSuggestionsCommand, } from "./suggestions"; + +import { acceptDiffCommand, rejectDiffCommand } from "./diffs"; import * as bridge from "./bridge"; import { debugPanelWebview } from "./debugPanel"; import { sendTelemetryEvent, TelemetryEvent } from "./telemetry"; @@ -51,6 +53,8 @@ const commandsMap: { [command: string]: (...args: any) => any } = { "continue.suggestionUp": suggestionUpCommand, "continue.acceptSuggestion": acceptSuggestionCommand, "continue.rejectSuggestion": rejectSuggestionCommand, + "continue.acceptDiff": acceptDiffCommand, + "continue.rejectDiff": rejectDiffCommand, "continue.acceptAllSuggestions": acceptAllSuggestionsCommand, "continue.rejectAllSuggestions": rejectAllSuggestionsCommand, "continue.focusContinueInput": async () => { |