Microsoft.VisualStudio.LanguageServer.Client Namespace

Classes

ClientNameAttribute

Attribute used to provide additional metadata describing when a language client should be loaded.

CodeRemoteContentDefinition

Class which represents the remote and code-remote ContentTypes, which should be used as a base definition for all files that use remote language server. Use CodeRemoteBaseTypeName if language content type derives from "code" and RemoteBaseTypeName if language content type derives from "text".

Connection

Class which represents the connection to a language server.

DisableUserExperienceAttribute

Export attribute which can be used to signify that a language client can disable user experience and editor interactions. Such a client will not be loaded by default, and will only be exposed via a LiveShare exposed interface.

InitializationFailureContext

Class to encapsulate any properties related to the context of initialization failures.

LanguageClientConstants

Constants value for ILanguageClient related APIs.

ProvideWorkspaceSettingsAttribute

ProvideWorkspaceSettingsAttribute class. Registers a workspace settings file for use in OpenFolder settings.

RunOnContextAttribute

Export attribute which can be used to signify that a language client will only be activated in certain LiveShare context.

Interfaces

IAddressableLanguageClient

Interface representing a language client that is addressable for callback calls sent specifically to them.

IContentTypeMetadata

Interface representing ContentType attribute values.

ILanguageClient

Interface representing a language client which connects to a language sever protocol based language server.

ILanguageClientBroker

Contract used to broker ILanguageClient instances with the platform.

ILanguageClientCompletionProvider

Interface representing a provider which can provide middle layer support to customize completion related requests.

ILanguageClientCustomMessage

Interface representing a remote language client that supports custom messages.

ILanguageClientCustomMessage2

Interface that provides custom message contract using StreamJsonRpc v2.

ILanguageClientDidChangeConfigurationProvider

Interface representing a provider which can implement custom behavior around the 'workspace/didChangeConfiguration' notification.

ILanguageClientDidChangeProvider

Interface representing a provider which can implement custom behavior around the 'textDocument/didChange' notification.

ILanguageClientDidCloseProvider

Interface representing a provider which can implement custom vehavior around the 'textDocument/didClose' notification.

ILanguageClientDidOpenProvider

Interface representing a provider which can implement custom behavior around the 'textDocument/didOpen' notification.

ILanguageClientDidSaveProvider

Interface representing a provider which can implement custom behavior around the 'textDocument/didSave' notification.

ILanguageClientDocumentManager

Interface representing a client which provides document management functionality in IDE such as opening documents and ensuring documents exist on disk.

ILanguageClientExecuteCommandProvider

Interface representing a provider which can implement custom behavior around the 'workspace/executeCommand' request.

ILanguageClientInitializationInfo

Interface representing various information useful about the status of the initialization of the language client.

ILanguageClientMetadata

Metadata describing an ILanguageClient.

ILanguageClientMiddleLayer

Interface representing a client which can intercept language server messages and implement custom behaviour around them.

ILanguageClientMiddleLayer2<T>

Interface representing a client which can intercept language server messages and implement custom behaviour around them.

ILanguageClientWorkspaceSymbolProvider

Interface representing a provider which can implement custom behavior around the 'workspace/symbol' request.

Enums

InitializationStatus

Enum which represents the various point of the initialization process.

RunningContext

Enum which represents the UI Context in which the language client should be booted.