Commit Graph
13 Commits
Author SHA1 Message Date
faumaray ec86a79a1a Report full function extents from the stock observer
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.
2026-12-05 17:28:59 +03:00
faumaray a098e45dc9 Serve outgoing call hierarchy
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.
2026-12-05 17:03:48 +03:00
faumaray cec4e7d717 Serve call hierarchy from stock call facts
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.
2026-12-05 16:48:05 +03:00
faumaray 555ccecd65 Group incoming calls by the enclosing definition
A bounded call-hierarchy core maps resolved call sites to the
innermost compiler-proven definition containing them in the same file,
falling back to an explicitly file-level caller instead of a guessed
function. Registered vls_feature_tests cases cover grouping,
deduplication, exact-target matching and bounds. Server wiring remains.
2026-12-05 16:30:33 +03:00
faumaray b0b48d961c Update includes when files are renamed
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.
2026-12-05 16:19:52 +03:00
faumaray 158125ace5 Handle workspace file-operation notifications
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.
2026-12-05 16:03:06 +03:00
faumaray 130cb57a7f Serve parameter inlay hints from occurrence signatures
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.
2026-12-05 15:40:19 +03:00
faumaray 12a71ff692 Serve semantic tokens from stock occurrences
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.
2026-12-05 15:19:42 +03:00
faumaray 946b1a005e Offer compiler quick fixes as code actions
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.
2026-12-05 15:03:21 +03:00
faumaray 624c24d028 Serve selection and folding ranges over LSP
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.
2026-12-05 14:41:03 +03:00
faumaray 8ca3dcbf74 Serve document symbols and highlights over LSP
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.
2026-12-05 14:21:26 +03:00
faumaray da8003f6d4 Implement the VLS roadmap on the native VBS build
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.
2026-12-05 14:06:50 +03:00
faumaray ca04975d54 bootstrap
Signed-off-by: faumaray <faumaray@gmail.com>
2026-11-25 02:11:19 +03:00