Package-level declarations

Types

Link copied to clipboard
class CompletionSubservice(completionSuppliers: List<CompletionSupplier>) : TextDocumentSubservice<CompletionParams, List<CompletionItem>>

Subservice for handling completion requests. Only the first non-empty result from the suppliers is returned.

Link copied to clipboard
class DiagnosticsSubservice(diagnosticsSuppliers: List<DiagnosticsSupplier>) : TextDocumentSubservice<Any?, List<Diagnostic>>

Subservice for handling diagnostics.

Link copied to clipboard
class HoverSubservice(hoverSuppliers: List<HoverSupplier>) : TextDocumentSubservice<HoverParams, Hover?>

Subservice for handling hover requests. It gathers hover information from multiple suppliers, and picks the first non-null result.

Link copied to clipboard
class OnTypeFormattingSubservice(editSuppliers: List<OnTypeFormattingEditSupplier>) : TextDocumentSubservice<DocumentOnTypeFormattingParams, List<TextEdit>>

Subservice for handling on-type formatting requests. It aggregates edits from all suppliers and returns them as a single list.

Link copied to clipboard
class SemanticTokensSubservice(tokensSuppliers: List<SemanticTokensSupplier>) : TextDocumentSubservice<SemanticTokensParams, SemanticTokens>

Subservice for handling semantic tokens requests.

Link copied to clipboard

Represents a single operation that is part of a TextDocumentService.