ProjectManager.Completions(TextDocumentPositionParams) Method

Definition

Returns a list of suggested completion items for the given location.

public Microsoft.VisualStudio.LanguageServer.Protocol.CompletionList? Completions (Microsoft.VisualStudio.LanguageServer.Protocol.TextDocumentPositionParams? param);
member this.Completions : Microsoft.VisualStudio.LanguageServer.Protocol.TextDocumentPositionParams -> Microsoft.VisualStudio.LanguageServer.Protocol.CompletionList
Public Function Completions (param As TextDocumentPositionParams) As CompletionList

Parameters

Returns

CompletionList

Remarks

Returns null if given uri or position is null, or if the specified file is not listed as source file. Fails silently without logging anything if an exception occurs upon evaluating the query (occasional failures are to be expected as the evaluation is a readonly query running in parallel to the ongoing processing).

Applies to