A bounded core finds top-level argument starts (nested brackets, literals and comments aware) and projects parameter-type hints from the compiler signature, filtered to the requested range. The server advertises inlayHintProvider and serves textDocument/inlayHint through EditorDiagnostics. Registered tests cover splitting, filtering, short signatures and bounds; a real stdio session returned the std::string_view hint for the fnv1a64 argument. Refresh the parity matrix.
2.7 KiB
2.7 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 types) | vls_feature_tests, real stdio session |
| workspace/symbol | stock occurrence corpus |
| 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 | needs compiler call/type relationships |
| textDocument/codeLens, executeCommand | command surface not designed |
| workspace edits and file operations | client-side application is also open |
| 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 |
| inlay hints beyond parameter types | return-type and deduced-type hints need more compiler data |
Next slices
workspace/applyEditand client-side application of ready rename plans.- call hierarchy from stock call facts.
- Formatting via the selected compiler.