Files
Language-Server/docs/agent-workflow/LSP-PARITY.md
T
faumaray 2cced8363d Add return-type inlay hints after calls
The bounded inlay-hint core now matches a call's closing parenthesis
(nested calls, literals and comments aware) and places a type hint
labelled with the compiler's canonical type. EditorDiagnostics emits
it for every occurrence independently of parameter signatures.
Registered tests cover nested matching, placement, skipped cases and
bounds; a real stdio session showed both the parameter and return hints
at the fnv1a64 call.
2026-12-05 18:08:04 +03:00

3.0 KiB

LSP parity matrix

Target (user direction): clangd feature parity plus every LSP capability that applies to a C++ language server. Status is evidence-based; PARTIAL names the missing part. Updated December 5, 2026 after semantic tokens and inlay hints.

Implemented and verified

Capability Evidence
initialize / initialized / shutdown / exit native transcripts and registered tests
textDocument sync (full + incremental, UTF-8/UTF-16) document suite, real stdio corpora
publishDiagnostics (stock GCC, in-process default profile) diagnostic suite, stdio corpus
textDocument/hover, definition stock occurrence corpus
textDocument/references, prepareRename, rename navigation suite, stock corpus refusals
textDocument/completion (+ completionItem/resolve) vls_feature_tests, real stdio session
textDocument/signatureHelp vls_feature_tests, real stdio session
textDocument/documentSymbol vls_index_tests path query, real stdio session
textDocument/documentHighlight vls_feature_tests, real stdio session
textDocument/selectionRange, foldingRange vls_feature_tests, real stdio session
textDocument/codeAction (quickfix) vls_feature_tests + vls_diagnostic_tests, real stdio session
textDocument/semanticTokens/full vls_feature_tests, real stdio session
textDocument/inlayHint (parameter and return types) vls_feature_tests, real stdio session
textDocument/codeLens + workspace/executeCommand (vls.showReferences) vls_feature_tests, real stdio session
workspace/symbol stock occurrence corpus
workspace fileOperations (didCreate/didRename/didDelete) vls_feature_tests, real stdio session
workspace/willRenameFiles (include updates) vls_feature_tests, real stdio session
voidLanguageServer/analysisStatus, providerStatus stdio corpora
Debug adapter (DAP) separately through vls-dap vls_live_tests, vls_dap_tests

Open

Capability Notes
Compiler-native completion with visibility proof index-backed completion is explicitly incomplete
Overload-set signature help only the selected occurrence's signature is available
textDocument/formatting needs a plan
callHierarchy / typeHierarchy prepare, incomingCalls and outgoingCalls are implemented and served; outgoing calls are verified over stdio now that the observer reports full function extents. Type hierarchy is open.
Client-side application of server-issued workspace edits rename and code actions return edits the clients apply directly
Applying multi-file renames through client buffers plans can be ready; application is client work
EditorDiagnostics reflection LSP wiring the server has no reflection data source
semantic token modifiers / richer token types legend is one type (function) from occurrences
textDocument/formatting no formatter is available; needs a dependency decision

Next slices

  1. call hierarchy from stock call facts.
  2. Formatting via the selected compiler.
  3. code lens and executeCommand.