The server legend gains a declaration modifier, and EditorDiagnostics
emits the definition-name token with it when the definition lies in the
same document. No type token is emitted because the canonical type has
no source span. Registered tests cover modifier encoding and the
overlap rule; a real stdio session showed the modifier on both
definition names.
A bounded core builds one lens per document position with its proven
reference count. EditorDiagnostics counts index records by name and
definition and serves textDocument/codeLens; workspace/executeCommand
implements vls.showReferences via the navigation binding. Registered
feature tests cover titles, arguments, deduplication and bounds. A
real stdio session showed the one-reference lens at the fnv1a64 call
and resolved it to the source location.
The observer emits an optional extent inside each proven definition
span from the body's last statement finish (the C++ frontend does not
set function_end_locus). The occurrence decoder binds it to the same
snapshot through the negotiated encoding and rejects malformed
extents; call hierarchy attributes nested calls to the enclosing
extent. A real stdio session reported both inner calls as outgoing
from outer, and the observer and occurrence corpora still pass.
callHierarchy/outgoingCalls groups calls attributed to the prepared
function's innermost enclosing definition by callee, with registered
core tests for grouping, innermost attribution, unresolved-callee
omission and bounds. Real stdio evidence shows the observer reports
only the declarator span, so body calls cannot be attributed without
guessing; the matrix records that limitation.
prepareCallHierarchy returns the callee definition as one item, and
callHierarchy/incomingCalls groups resolved call sites by the
innermost compiler-proven enclosing definition, falling back to an
explicit file-level caller. The server advertises
callHierarchyProvider. A real stdio session with the stock observer
prepared fnv1a64 (Hash.hpp) and reported one incoming call from
DocumentSnapshot.cpp.
The server advertises willRename and answers workspace/willRenameFiles
with a WorkspaceEdit. A bounded core resolves quoted includes against
the document directory and replaces only the spelling (relative stays
relative, absolute stays absolute, angle includes untouched), with
registered tests. EditorDiagnostics converts the byte edits to
negotiated positions for every open overlay; a real stdio session
returned the extra.hpp -> renamed.hpp edit.
The server advertises didCreate/didRename/didDelete file operations
with file-scheme filters. A bounded core converts notifications into
canonical filesystem changes (rename as old-gone/new-present, non-file
URIs ignored, invalid URIs rejected) with registered tests, and
EditorDiagnostics invalidates every dependent index context for
changed or removed paths before re-queueing open documents. A real
stdio session observed the index become incomplete after a deleted
header, and a malformed notification left the server answering.
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.
A bounded core normalizes occurrence tokens (sorted, deduplicated,
overlap-free, capped) and delta-encodes them. EditorDiagnostics emits
one function token per proven call occurrence in the owner snapshot,
and the server advertises a one-type legend and serves
textDocument/semanticTokens/full. Registered tests cover
normalization, encoding, overlap and bounds; a real stdio session
decoded the fnv1a64 callee token.
Decode GCC SARIF fixes into bounded diagnostic edits through the same
physical-origin policy as locations; unprovable regions are dropped. A
bounded projection filters fixes to the requested range, deduplicates
and bounds them, and textDocument/codeAction serves them from retained
published diagnostics. Registered tests cover the SARIF binding and the
projection; a real stdio session returned the compiler's
Replace 'valu' with 'value' quickfix.
A bounded snapshot-only core (vls/features/TextStructure.hpp) builds
nested selection chains (identifier, line, enclosing blocks, document)
and foldable regions (brace blocks, comments, preprocessor pairs,
include groups) while ignoring literals. The server advertises and serves
textDocument/selectionRange with bounded positions and
textDocument/foldingRange through EditorDiagnostics; registered
vls_feature_tests cases cover both.
SymbolIndex::find_by_path exposes one document's records with the same
overlay shadowing and coverage as find. EditorDiagnostics maps them to
textDocument/documentSymbol, and a bounded same-file highlight core
(vls/features/DocumentSymbols.hpp) backs textDocument/documentHighlight
from verified occurrence facts with the ambiguous-binding rule. Both are
advertised and exercised over a real stdio session with the stock
observer. Record the LSP parity matrix.
Native VBS and CMake builds of the server and every registered suite:
protocol and document sync, VBS/compdb providers, stock GCC diagnostics
(including in-process default profile preparation), the stock occurrence
observer and hover/definition, the bounded Scheduler, C++ module graph,
scan and artifact cache with real CMI production, the context-aware
symbol index with schema-2 snapshot migration, navigation and guarded
rename, reflection provenance with splice-origin extraction, index-backed
completion and signature help, live GCC worker control with a registered
DAP suite, and the Neovim and VS Code clients.
VoidLibrary follows main. The private GCC 16.2.0 frontend is reproduced
from the versioned patches and verified stepping reflection/template code
with projected values 17/34 and 41/82.