From a2b140d314d0687be51e4108b35e492217561dbc Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Fri, 4 Aug 2023 12:08:10 -0700 Subject: refactor: :fire: remove unused vscode commands --- extension/package.json | 45 --------------------------------------------- extension/src/commands.ts | 6 ------ 2 files changed, 51 deletions(-) (limited to 'extension') diff --git a/extension/package.json b/extension/package.json index 8e3448aa..2a8266ec 100644 --- a/extension/package.json +++ b/extension/package.json @@ -57,26 +57,6 @@ } }, "commands": [ - { - "command": "continue.suggestionDown", - "category": "Continue", - "title": "Suggestion Down" - }, - { - "command": "continue.suggestionUp", - "category": "Continue", - "title": "Suggestion Up" - }, - { - "command": "continue.acceptSuggestion", - "category": "Continue", - "title": "Accept Suggestion" - }, - { - "command": "continue.rejectSuggestion", - "category": "Continue", - "title": "Reject Suggestion" - }, { "command": "continue.acceptDiff", "category": "Continue", @@ -87,16 +67,6 @@ "category": "Continue", "title": "Reject Diff" }, - { - "command": "continue.acceptAllSuggestions", - "category": "Continue", - "title": "Accept All Suggestions" - }, - { - "command": "continue.rejectAllSuggestions", - "category": "Continue", - "title": "Reject All Suggestions" - }, { "command": "continue.quickTextEntry", "category": "Continue", @@ -134,21 +104,6 @@ "mac": "cmd+shift+m", "key": "ctrl+shift+m" }, - { - "command": "continue.suggestionDown", - "mac": "shift+ctrl+down", - "key": "shift+ctrl+down" - }, - { - "command": "continue.suggestionUp", - "mac": "shift+ctrl+up", - "key": "shift+ctrl+up" - }, - { - "command": "continue.acceptSuggestion", - "mac": "shift+ctrl+enter", - "key": "shift+ctrl+enter" - }, { "command": "continue.acceptDiff", "mac": "shift+cmd+enter", diff --git a/extension/src/commands.ts b/extension/src/commands.ts index 351c055d..cf6892f2 100644 --- a/extension/src/commands.ts +++ b/extension/src/commands.ts @@ -23,14 +23,8 @@ export const setFocusedOnContinueInput = (value: boolean) => { // Copy everything over from extension.ts const commandsMap: { [command: string]: (...args: any) => any } = { - "continue.suggestionDown": suggestionDownCommand, - "continue.suggestionUp": suggestionUpCommand, - "continue.acceptSuggestion": acceptSuggestionCommand, - "continue.rejectSuggestion": rejectSuggestionCommand, "continue.acceptDiff": acceptDiffCommand, "continue.rejectDiff": rejectDiffCommand, - "continue.acceptAllSuggestions": acceptAllSuggestionsCommand, - "continue.rejectAllSuggestions": rejectAllSuggestionsCommand, "continue.quickFix": async (message: string, code: string, edit: boolean) => { ideProtocolClient.sendMainUserInput( `${ -- cgit v1.2.3-70-g09d2