File tree Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -63,13 +63,6 @@ export class RecommendationService {
6363 )
6464 }
6565
66- /**
67- * Set the recommendation service
68- */
69- public setCursorUpdateRecorder ( recorder : ICursorUpdateRecorder ) : void {
70- this . cursorUpdateRecorder = recorder
71- }
72-
7366 async getAllRecommendations (
7467 languageClient : LanguageClient ,
7568 document : TextDocument ,
@@ -109,7 +102,7 @@ export class RecommendationService {
109102 if ( document . uri . scheme === 'vscode-notebook-cell' ) {
110103 request . fileContextOverride = extractFileContextInNotebooks ( document , position )
111104 }
112- const requestStartTime = globals . clock . Date . now ( )
105+ const requestStartTime = Date . now ( )
113106 const statusBar = CodeWhispererStatusBarManager . instance
114107
115108 // Only track telemetry if enabled
@@ -238,7 +231,7 @@ export class RecommendationService {
238231 }
239232 TelemetryHelper . instance . setFirstSuggestionShowTime ( )
240233
241- const firstCompletionDisplayLatency = globals . clock . Date . now ( ) - requestStartTime
234+ const firstCompletionDisplayLatency = Date . now ( ) - requestStartTime
242235 this . sessionManager . startSession (
243236 result . sessionId ,
244237 result . items ,
Original file line number Diff line number Diff line change @@ -196,11 +196,6 @@ export async function startLanguageServer(
196196 textDocument : {
197197 inlineCompletionWithReferences : textDocSection ,
198198 } ,
199- textDocument : {
200- inlineCompletionWithReferences : {
201- inlineEditSupport : Experiments . instance . isExperimentEnabled ( 'amazonqLSPNEP' ) ,
202- } ,
203- } ,
204199 } ,
205200 contextConfiguration : {
206201 workspaceIdentifier : extensionContext . storageUri ?. path ,
You can’t perform that action at this time.
0 commit comments