unused commands - remove
This commit is contained in:
parent
7b6b7070fd
commit
5cc2cb2506
1 changed files with 0 additions and 41 deletions
|
|
@ -634,16 +634,6 @@ const getCommandsMap: (
|
|||
editDecorationManager.clear();
|
||||
void sidebar.webviewProtocol?.request("exitEditMode", undefined);
|
||||
},
|
||||
// "continue.quickEdit": async (args: QuickEditShowParams) => {
|
||||
// let linesOfCode = undefined;
|
||||
// if (args.range) {
|
||||
// linesOfCode = args.range.end.line - args.range.start.line;
|
||||
// }
|
||||
// captureCommandTelemetry("quickEdit", {
|
||||
// linesOfCode,
|
||||
// });
|
||||
// quickEdit.show(args);
|
||||
// },
|
||||
"continue.writeCommentsForCode": async () => {
|
||||
captureCommandTelemetry("writeCommentsForCode");
|
||||
|
||||
|
|
@ -708,37 +698,6 @@ const getCommandsMap: (
|
|||
vscode.commands.executeCommand("continue.continueGUIView.focus");
|
||||
sidebar.webviewProtocol?.request("addModel", undefined);
|
||||
},
|
||||
"continue.sendMainUserInput": (text: string) => {
|
||||
sidebar.webviewProtocol?.request("userInput", {
|
||||
input: text,
|
||||
});
|
||||
},
|
||||
"continue.selectRange": (startLine: number, endLine: number) => {
|
||||
if (!vscode.window.activeTextEditor) {
|
||||
return;
|
||||
}
|
||||
vscode.window.activeTextEditor.selection = new vscode.Selection(
|
||||
startLine,
|
||||
0,
|
||||
endLine,
|
||||
0,
|
||||
);
|
||||
},
|
||||
"continue.foldAndUnfold": (
|
||||
foldSelectionLines: number[],
|
||||
unfoldSelectionLines: number[],
|
||||
) => {
|
||||
vscode.commands.executeCommand("editor.unfold", {
|
||||
selectionLines: unfoldSelectionLines,
|
||||
});
|
||||
vscode.commands.executeCommand("editor.fold", {
|
||||
selectionLines: foldSelectionLines,
|
||||
});
|
||||
},
|
||||
"continue.sendToTerminal": (text: string) => {
|
||||
captureCommandTelemetry("sendToTerminal");
|
||||
ide.runCommand(text);
|
||||
},
|
||||
"continue.newSession": () => {
|
||||
sidebar.webviewProtocol?.request("newSession", undefined);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue