refactor: 🔥 remove unused vscode commands

This commit is contained in:
Nate Sesti 2023-08-04 12:08:10 -07:00
parent 6f8be63662
commit a2b140d314
2 changed files with 0 additions and 51 deletions

View file

@ -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",

View file

@ -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(
`${