File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Extension/src/LanguageServer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2348,8 +2348,8 @@ export class DefaultClient implements Client {
23482348 return result ;
23492349 }
23502350
2351- // This is used to avoid processing unnecessary LSP cancel requests during a Copilot completion
2352- // when the result could still be used in 2 minutes in its cache before it sends another request .
2351+ // Copilot completions will cancel the current request if it times out (showing the user completion results without context info),
2352+ // but the results can still be used for future requests (due to caching) so it's better to return results instead of cancelling .
23532353 private static async withoutLspCancellationHandling < T > ( task : ( ) => Promise < T > ) : Promise < T > {
23542354 let result : T ;
23552355
You can’t perform that action at this time.
0 commit comments