signatureHelp

fun signatureHelp(client: LSPClient, uri: String, config: SignatureHelpConfig = SignatureHelpConfig()): Extension

Build the editor Extension that enables LSP signature help from the language server wrapped by client for the file at uri.

Ports upstream @codemirror/lsp-client's signatureHelp. It installs the signatureState field (which provides the tooltip to the showTooltip facet) and the SignatureHelpPlugin (which requests help on trigger characters / explicit invocation and cycles signatures), and — unless keymap is false — the signatureKeymap bindings at high precedence.

Parameters

client

The LSP client wrapping the language server.

uri

The document URI for this editor's file.

config

Signature-help configuration. See SignatureHelpConfig.