Table of Contents

Class LspRepository

Namespace
Alternet.Syntax.Parsers.Lsp
Assembly
Alternet.Syntax.Parsers.Lsp.v9.dll

Represents properties and methods to perform code completion functionality for LSP-based languages.

public class LspRepository : CodeCompletionRepository, ICodeCompletionRepository, IDisposable, ILspDocumentProvider
Inheritance
LspRepository
Implements
Derived

Constructors

LspRepository(bool, ILspDocumentProvider, ISyntaxTree?)

Initializes a new instance of the LspRepository class with specified parameters.

Properties

AlphaImages

Represents collection of images used for code completion.

AlphaImagesHighDpi

Represents the ImageList for code completion items for high DPI.

Document

Represents a LspDocument object associated with this repository.

DocumentProvider
Images

Represents collection of images used for code completion.

ImagesHighDpi

Represents the ImageList for code completion items for high DPI.

Methods

CodeCompletionAsync(Point, CodeCompletionArgs, CancellationToken)

Performs code completion for the specified text representing language element.

CreateLspListMember(IListMembers, CompletionItem)
Dispose(bool)
FillMembers(CompletionItem[], IListMembers, out int)

Fills a provider with the members, providing available choices for the specified language element.

FillParameterInfo(SignatureHelp, IListMembers)
GetHoverHtml(Hover)
GetListMemberInsertText(CompletionItem)
GetListMemberName(CompletionItem)
GetListMembersTextEdit(CompletionItem)
GetMarkedStringsText(Container<MarkedString>)
GetMarkupHtml(Container<MarkedString>)
GetMarkupHtml(MarkedStringsOrMarkupContent)
GetMarkupHtml(MarkupContent)
GetMarkupHtml(StringOrMarkupContent)
GetMarkupHtml(string)
GetSignatureDescription(SignatureInformation)
GetSignatureName(SignatureInformation)
GetSignatureParameterDescription(ParameterInformation)
GetSignatureParameterName(ParameterInformation)
IsCompletionItemIncludedInListMembers(CompletionItem)
LoadImages()
MarkdownToHtml(string)
PlainTextToHtml(string?)