Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ public override async Task<CompletionList> Handle(CompletionParams request, Canc
// (typically files) returned by the space completion
return new CompletionList(completionResults, isIncomplete || request?.Context?.TriggerCharacter is " ");
}
// Ignore canceled requests (logging will pollute the output).
catch (TaskCanceledException)
{
return new CompletionList(isIncomplete: true);
}
// We can't do anything about completions failing.
catch (Exception e)
{
Expand Down