diff --git a/client/src/common/client.ts b/client/src/common/client.ts index 2a18595fc..29f4025b9 100644 --- a/client/src/common/client.ts +++ b/client/src/common/client.ts @@ -35,7 +35,7 @@ import { ImplementationRequest, SelectionRangeRequest, TypeDefinitionRequest, CallHierarchyPrepareRequest, SemanticTokensRegistrationType, LinkedEditingRangeRequest, TypeHierarchyPrepareRequest, InlineValueRequest, InlayHintRequest, WorkspaceSymbolRequest, TextDocumentRegistrationOptions, FileOperationRegistrationOptions, ConnectionOptions, PositionEncodingKind, DocumentDiagnosticRequest, NotebookDocumentSyncRegistrationType, NotebookDocumentSyncRegistrationOptions, ErrorCodes, - MessageStrategy, DidOpenTextDocumentParams + MessageStrategy, DidOpenTextDocumentParams, CodeLensResolveRequest, CompletionResolveRequest, CodeActionResolveRequest, InlayHintResolveRequest, DocumentLinkResolveRequest, WorkspaceSymbolResolveRequest } from 'vscode-languageserver-protocol'; import * as c2p from './codeConverter'; @@ -1896,6 +1896,15 @@ export abstract class BaseLanguageClient implements FeatureClient = new Set([ + CompletionResolveRequest.method, + CodeLensResolveRequest.method, + CodeActionResolveRequest.method, + InlayHintResolveRequest.method, + DocumentLinkResolveRequest.method, + WorkspaceSymbolResolveRequest.method + ]); + public handleFailedRequest(type: MessageSignature, token: CancellationToken | undefined, error: any, defaultValue: T, showNotification: boolean = true): T { // If we get a request cancel or a content modified don't log anything. if (error instanceof ResponseError) { @@ -1915,7 +1924,7 @@ export abstract class BaseLanguageClient implements FeatureClient