Table of Contents

Class LspRepository

Namespace
Alternet.Syntax.Parsers.Lsp
Assembly
Alternet.Syntax.Parsers.Lsp.v10.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

Document

Represents a LspDocument object associated with this repository.

DocumentProvider
Images

Gets Alpha ImageList attached to this CodeCompletionRepository.

ImagesHighDpi

Gets Alpha ImageList attached to this CodeCompletionRepository 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)
GetHoverImageIndex(string)
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?)