Skip to content

Commit e69c0e9

Browse files
Merge pull request #4958 from continuedev/dallin/unused-commands
remove unused vscode commands
2 parents add7a13 + 5cc2cb2 commit e69c0e9

File tree

1 file changed

+0
-41
lines changed

1 file changed

+0
-41
lines changed

extensions/vscode/src/commands.ts

-41
Original file line numberDiff line numberDiff line change
@@ -634,16 +634,6 @@ const getCommandsMap: (
634634
editDecorationManager.clear();
635635
void sidebar.webviewProtocol?.request("exitEditMode", undefined);
636636
},
637-
// "continue.quickEdit": async (args: QuickEditShowParams) => {
638-
// let linesOfCode = undefined;
639-
// if (args.range) {
640-
// linesOfCode = args.range.end.line - args.range.start.line;
641-
// }
642-
// captureCommandTelemetry("quickEdit", {
643-
// linesOfCode,
644-
// });
645-
// quickEdit.show(args);
646-
// },
647637
"continue.writeCommentsForCode": async () => {
648638
captureCommandTelemetry("writeCommentsForCode");
649639

@@ -708,37 +698,6 @@ const getCommandsMap: (
708698
vscode.commands.executeCommand("continue.continueGUIView.focus");
709699
sidebar.webviewProtocol?.request("addModel", undefined);
710700
},
711-
"continue.sendMainUserInput": (text: string) => {
712-
sidebar.webviewProtocol?.request("userInput", {
713-
input: text,
714-
});
715-
},
716-
"continue.selectRange": (startLine: number, endLine: number) => {
717-
if (!vscode.window.activeTextEditor) {
718-
return;
719-
}
720-
vscode.window.activeTextEditor.selection = new vscode.Selection(
721-
startLine,
722-
0,
723-
endLine,
724-
0,
725-
);
726-
},
727-
"continue.foldAndUnfold": (
728-
foldSelectionLines: number[],
729-
unfoldSelectionLines: number[],
730-
) => {
731-
vscode.commands.executeCommand("editor.unfold", {
732-
selectionLines: unfoldSelectionLines,
733-
});
734-
vscode.commands.executeCommand("editor.fold", {
735-
selectionLines: foldSelectionLines,
736-
});
737-
},
738-
"continue.sendToTerminal": (text: string) => {
739-
captureCommandTelemetry("sendToTerminal");
740-
ide.runCommand(text);
741-
},
742701
"continue.newSession": () => {
743702
sidebar.webviewProtocol?.request("newSession", undefined);
744703
},

0 commit comments

Comments
 (0)