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 | 8f93431f346d72a790b16a00d577c8f3d8c761b3 (patch) | |
tree | f8602b7b97e81bb33524ed19f0c2a32b84b7d89e /extension/src/commands.ts | |
parent | 2d8c28965684d03ef711253e5555ef304882828f (diff) | |
download | sncontinue-8f93431f346d72a790b16a00d577c8f3d8c761b3.tar.gz sncontinue-8f93431f346d72a790b16a00d577c8f3d8c761b3.tar.bz2 sncontinue-8f93431f346d72a790b16a00d577c8f3d8c761b3.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 () => { |