QuarkdownTextDocumentService
class QuarkdownTextDocumentService(server: QuarkdownLanguageServer, executor: Executor, completionSuppliers: List<CompletionSupplier>, tokensSuppliers: List<SemanticTokensSupplier>, hoverSuppliers: List<HoverSupplier>, diagnosticsSuppliers: List<DiagnosticsSupplier>, formattingSuppliers: List<OnTypeFormattingEditSupplier>) : TextDocumentService
Service for handling text document operations in the Quarkdown Language Server.
Parameters
server
the parent language server
executor
executor used to dispatch background work (e.g. diagnostics). Should be shared across instances when hosting multiple servers in the same JVM.
Constructors
Link copied to clipboard
constructor(server: QuarkdownLanguageServer, executor: Executor, completionSuppliers: List<CompletionSupplier>, tokensSuppliers: List<SemanticTokensSupplier>, hoverSuppliers: List<HoverSupplier>, diagnosticsSuppliers: List<DiagnosticsSupplier>, formattingSuppliers: List<OnTypeFormattingEditSupplier>)
Functions
Link copied to clipboard
@ProtocolSince(value = "3.16.0")
Link copied to clipboard
@ProtocolSince(value = "3.16.0")
Link copied to clipboard
open fun codeAction(params: CodeActionParams?): CompletableFuture<List<Either<Command?, CodeAction?>?>?>?
Link copied to clipboard
Link copied to clipboard
@ProtocolSince(value = "3.6.0")
Link copied to clipboard
Link copied to clipboard
@ProtocolSince(value = "3.14.0")
Link copied to clipboard
open fun definition(params: DefinitionParams?): CompletableFuture<Either<List<out Location?>?, List<out LocationLink?>?>?>?
Link copied to clipboard
@ProtocolSince(value = "3.17.0")
Link copied to clipboard
@ProtocolSince(value = "3.6.0")
Link copied to clipboard
open fun documentHighlight(params: DocumentHighlightParams?): CompletableFuture<List<out DocumentHighlight?>?>?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun documentSymbol(params: DocumentSymbolParams?): CompletableFuture<List<Either<SymbolInformation?, DocumentSymbol?>?>?>?
Link copied to clipboard
@ProtocolSince(value = "3.10.0")
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@ProtocolSince(value = "3.6.0")
Link copied to clipboard
@ProtocolSince(value = "3.17.0")
Link copied to clipboard
@ProtocolDraft
@ProtocolSince(value = "3.18.0")
Link copied to clipboard
@ProtocolSince(value = "3.17.0")
Link copied to clipboard
@ProtocolSince(value = "3.16.0")
Link copied to clipboard
@ProtocolSince(value = "3.16.0")
Link copied to clipboard
open override fun onTypeFormatting(params: DocumentOnTypeFormattingParams): CompletableFuture<List<TextEdit?>?>?
Link copied to clipboard
@ProtocolSince(value = "3.16.0")
Link copied to clipboard
@ProtocolSince(value = "3.12.0")
Link copied to clipboard
@ProtocolSince(value = "3.17.0")
Link copied to clipboard
open fun rangeFormatting(params: DocumentRangeFormattingParams?): CompletableFuture<List<out TextEdit?>?>?
Link copied to clipboard
@ProtocolDraft
@ProtocolSince(value = "3.18.0")
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@ProtocolSince(value = "3.16.0")
Link copied to clipboard
Link copied to clipboard
open override fun resolveCompletionItem(unresolved: CompletionItem): CompletableFuture<CompletionItem>
Link copied to clipboard
@ProtocolSince(value = "3.17.0")
Link copied to clipboard
@ProtocolSince(value = "3.15.0")
Link copied to clipboard
open override fun semanticTokensFull(params: SemanticTokensParams): CompletableFuture<SemanticTokens>
Link copied to clipboard
@ProtocolSince(value = "3.16.0")
Link copied to clipboard
@ProtocolSince(value = "3.16.0")
Link copied to clipboard
Link copied to clipboard
@ProtocolSince(value = "3.6.0")
Link copied to clipboard
@ProtocolSince(value = "3.17.0")
Link copied to clipboard
@ProtocolSince(value = "3.17.0")
Link copied to clipboard
open fun willSaveWaitUntil(params: WillSaveTextDocumentParams?): CompletableFuture<List<TextEdit?>?>?