QuarkdownLanguageServer

class QuarkdownLanguageServer(quarkdownDirectory: File?, executor: Executor = ForkJoinPool.commonPool(), onExit: () -> Unit = { exitProcess(0) }) : LanguageServer, LanguageClientAware

Quarkdown Language Server implementation.

Parameters

quarkdownDirectory

the directory containing the Quarkdown distribution, if available

executor

executor used to dispatch background work (catalogue warm-up, diagnostics, completion)

onExit

hook invoked when the client sends the LSP exit notification. Defaults to terminating the JVM, which is appropriate for stdio mode

Constructors

Link copied to clipboard
constructor(quarkdownDirectory: File?, executor: Executor = ForkJoinPool.commonPool(), onExit: () -> Unit = { exitProcess(0) })

Properties

Link copied to clipboard

The directory containing the documentation files, if available. This is located in the Quarkdown distribution.

Link copied to clipboard
@get:ProtocolSince(value = "3.17.0")
open val notebookDocumentService: NotebookDocumentService?
Link copied to clipboard
open override val textDocumentService: TextDocumentService
Link copied to clipboard
open override val workspaceService: WorkspaceService

Functions

Link copied to clipboard
@ProtocolSince(value = "3.15.0")
open fun cancelProgress(params: WorkDoneProgressCancelParams?)
Link copied to clipboard
open override fun connect(client: LanguageClient?)
Link copied to clipboard
Link copied to clipboard
open override fun exit()
Link copied to clipboard
open override fun getTextDocumentService(): TextDocumentService
Link copied to clipboard
open override fun getWorkspaceService(): WorkspaceService
Link copied to clipboard
open override fun initialize(params: InitializeParams?): CompletableFuture<InitializeResult?>?
Link copied to clipboard
@ProtocolDeprecated
open fun initialized()
open fun initialized(params: InitializedParams?)
Link copied to clipboard
fun log(message: String)

Logs a message to the client.

Link copied to clipboard
fun publishDiagnostics(uri: String, diagnostics: List<Diagnostic>)

Publishes diagnostics to the client.

Link copied to clipboard
@ProtocolSince(value = "3.16.0")
open fun setTrace(params: SetTraceParams?)
Link copied to clipboard
open override fun shutdown(): CompletableFuture<in Any>?