ProjectManager.Completions(TextDocumentPositionParams) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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).