@@ -4,21 +4,14 @@ import * as fs from "node:fs";
4
4
import { ContextMenuConfig , ILLM , ModelInstaller } from "core" ;
5
5
import { CompletionProvider } from "core/autocomplete/CompletionProvider" ;
6
6
import { ConfigHandler } from "core/config/ConfigHandler" ;
7
- import { ContinueServerClient } from "core/continueServer/stubs/client" ;
8
7
import { EXTENSION_NAME } from "core/control-plane/env" ;
9
8
import { Core } from "core/core" ;
10
- import { LOCAL_DEV_DATA_VERSION } from "core/data/log" ;
11
9
import { walkDirAsync } from "core/indexing/walkDir" ;
12
10
import { isModelInstaller } from "core/llm" ;
13
11
import { extractMinimalStackTraceInfo } from "core/util/extractMinimalStackTraceInfo" ;
14
12
import { startLocalOllama } from "core/util/ollamaHelper" ;
15
- import {
16
- getConfigJsonPath ,
17
- getConfigYamlPath ,
18
- getDevDataFilePath ,
19
- } from "core/util/paths" ;
13
+ import { getConfigJsonPath , getConfigYamlPath } from "core/util/paths" ;
20
14
import { Telemetry } from "core/util/posthog" ;
21
- import readLastLines from "read-last-lines" ;
22
15
import * as vscode from "vscode" ;
23
16
import * as YAML from "yaml" ;
24
17
@@ -173,7 +166,6 @@ const getCommandsMap: (
173
166
consoleView : ContinueConsoleWebviewViewProvider ,
174
167
configHandler : ConfigHandler ,
175
168
verticalDiffManager : VerticalDiffManager ,
176
- continueServerClientPromise : Promise < ContinueServerClient > ,
177
169
battery : Battery ,
178
170
quickEdit : QuickEdit ,
179
171
core : Core ,
@@ -185,7 +177,6 @@ const getCommandsMap: (
185
177
consoleView ,
186
178
configHandler ,
187
179
verticalDiffManager ,
188
- continueServerClientPromise ,
189
180
battery ,
190
181
quickEdit ,
191
182
core ,
@@ -686,9 +677,6 @@ const getCommandsMap: (
686
677
description :
687
678
getMetaKeyLabel ( ) + " + K, " + getMetaKeyLabel ( ) + " + A" ,
688
679
} ,
689
- {
690
- label : "$(feedback) Give feedback" ,
691
- } ,
692
680
{
693
681
kind : vscode . QuickPickItemKind . Separator ,
694
682
label : "Switch model" ,
@@ -721,8 +709,6 @@ const getCommandsMap: (
721
709
title : selectedOption ,
722
710
} ) ;
723
711
}
724
- } else if ( selectedOption === "$(feedback) Give feedback" ) {
725
- vscode . commands . executeCommand ( "continue.giveAutocompleteFeedback" ) ;
726
712
} else if ( selectedOption === "$(comment) Open chat" ) {
727
713
vscode . commands . executeCommand ( "continue.focusContinueInput" ) ;
728
714
} else if ( selectedOption === "$(screen-full) Open full screen chat" ) {
@@ -735,23 +721,6 @@ const getCommandsMap: (
735
721
} ) ;
736
722
quickPick . show ( ) ;
737
723
} ,
738
- "continue.giveAutocompleteFeedback" : async ( ) => {
739
- const feedback = await vscode . window . showInputBox ( {
740
- ignoreFocusOut : true ,
741
- prompt :
742
- "Please share what went wrong with the last completion. The details of the completion as well as this message will be sent to the Continue team in order to improve." ,
743
- } ) ;
744
- if ( feedback ) {
745
- const client = await continueServerClientPromise ;
746
- const completionsPath = getDevDataFilePath (
747
- "autocomplete" ,
748
- LOCAL_DEV_DATA_VERSION ,
749
- ) ;
750
-
751
- const lastLines = await readLastLines . read ( completionsPath , 2 ) ;
752
- client . sendFeedback ( feedback , lastLines ) ;
753
- }
754
- } ,
755
724
"continue.navigateTo" : ( path : string , toggle : boolean ) => {
756
725
sidebar . webviewProtocol ?. request ( "navigateTo" , { path, toggle } ) ;
757
726
focusGUI ( ) ;
@@ -895,7 +864,6 @@ export function registerAllCommands(
895
864
consoleView : ContinueConsoleWebviewViewProvider ,
896
865
configHandler : ConfigHandler ,
897
866
verticalDiffManager : VerticalDiffManager ,
898
- continueServerClientPromise : Promise < ContinueServerClient > ,
899
867
battery : Battery ,
900
868
quickEdit : QuickEdit ,
901
869
core : Core ,
@@ -909,7 +877,6 @@ export function registerAllCommands(
909
877
consoleView ,
910
878
configHandler ,
911
879
verticalDiffManager ,
912
- continueServerClientPromise ,
913
880
battery ,
914
881
quickEdit ,
915
882
core ,
0 commit comments