共用方式為


ILanguageClientCompletionProvider Interface

Definition

Caution

Use ILanguageClientMiddleLayer instead

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

public interface class ILanguageClientCompletionProvider
public interface ILanguageClientCompletionProvider
[System.Obsolete("Use ILanguageClientMiddleLayer instead")]
public interface ILanguageClientCompletionProvider
type ILanguageClientCompletionProvider = interface
[<System.Obsolete("Use ILanguageClientMiddleLayer instead")>]
type ILanguageClientCompletionProvider = interface
Public Interface ILanguageClientCompletionProvider
Attributes

Remarks

All of the methods defined in this interface must be implemented and should not default to throw NotImplementedException.

Methods

RequestCompletions(CompletionParams, Func<CompletionParams,Task<Nullable<SumType<CompletionItem[],CompletionList>>>>)

Intercepts calls to the server for 'textDocument/completion' request.

RequestCompletions(CompletionParams, Func<CompletionParams,Task<Object>>)

Intercepts calls to the server for 'textDocument/completion' request.

ResolveCompletion(CompletionItem, Func<CompletionItem,Task<CompletionItem>>)

Intercepts calls to the server for 'completion/resolve" request.

Applies to