Skip to content

Language tools

31 request families indexed

The server speaks standard LSP over stdio. Features are derived from one in-memory document overlay, semantic model, include graph, and workspace index.

Tool Protocol method What it does
Document formatting textDocument/formatting Formats the full buffer with project/editor settings
Range formatting textDocument/rangeFormatting Expands a selected range to formatter items
On-type formatting textDocument/onTypeFormatting Formats after newline and semicolon triggers
Format on save textDocument/willSaveWaitUntil Returns save-time edits when explicitly enabled
Completion textDocument/completion Completes symbols and context-aware constructs
Inline templates textDocument/inlineCompletion Offers structural ghost text for blocks and declarations
Signature help textDocument/signatureHelp Shows callable parameters at an argument position
Linked editing textDocument/linkedEditingRange Keeps opening and closing labels synchronized
Selection ranges textDocument/selectionRange Expands selection through syntax-tree boundaries
Tool Protocol method What it does
Hover textDocument/hover Shows symbol details and one-step macro expansion
Go to definition textDocument/definition Resolves local, external, include, and define targets
Go to type textDocument/typeDefinition Navigates from values and members to declared types
Find references textDocument/references Finds local and workspace references
Document highlights textDocument/documentHighlight Highlights reads/writes for the symbol at the cursor
Document symbols textDocument/documentSymbol Returns the hierarchical outline
Workspace symbols workspace/symbol Searches indexed design units and members
Document links textDocument/documentLink Makes resolvable `include paths clickable
Folding ranges textDocument/foldingRange Folds modules, classes, blocks, lists, and regions
Inlay hints textDocument/inlayHint Annotates ordered connections and inferred context
Code lens textDocument/codeLens Shows module instantiation counts and actions
Call hierarchy prepare textDocument/prepareCallHierarchy Selects callable or instantiable hierarchy items
Incoming calls callHierarchy/incomingCalls Finds callers or instantiators
Outgoing calls callHierarchy/outgoingCalls Lists calls or instantiated units
Tool Protocol method What it does
Pull diagnostics textDocument/diagnostic Returns current parse and lint diagnostics for a buffer
Workspace diagnostics workspace/diagnostic Streams diagnostics across indexed files
Published diagnostics textDocument/publishDiagnostics Updates clients that use push diagnostics
Quick fixes textDocument/codeAction Exposes safe lint fixes and bulk safe fixes
Execute command workspace/executeCommand Applies workspace-aware refactor actions
Tool Protocol method What it does
Prepare rename textDocument/prepareRename Verifies the target and returns its editable range
Rename textDocument/rename Renames local or workspace-resolved symbols
Port actions code actions / commands Adds, removes, and propagates module ports
Instantiate module completion / commands Builds an instance from an indexed module interface
Apply workspace edit workspace/applyEdit Delivers multi-file refactor changes to the client
Show definition window/showDocument Opens a generated or resolved target after an action
Tool Protocol method What it does
Semantic tokens textDocument/semanticTokens/full Colors symbols by semantic role
Incremental semantic tokens textDocument/semanticTokens/full/delta Sends compact token changes after edits
Range semantic tokens textDocument/semanticTokens/range Colors only a requested viewport
Scope pairs lucisv/scopePairs Custom block-pair data used for rainbow nesting

The server handles didOpen, incremental didChange, didSave, didClose, watched-file changes, configuration changes, cancellation, shutdown, and exit. It dynamically registers file watchers, emits work-done progress while building large indexes, coalesces code-lens refreshes, and promotes open-buffer overlays into the workspace without waiting for disk writes.