Serve document links for quoted includes

A bounded core resolves quoted include directives from the document
directory and reports the spelling range; the server advertises
documentLinkProvider and serves textDocument/documentLink from
snapshots, keeping only targets that exist on disk. Angle includes are
skipped because their search roots are unknown. Registered feature
tests cover resolution, indentation, line counting, skipping and
bounds, and the exact-capability-set assertion was updated. A real
stdio session linked extra.hpp and skipped <vector> and a missing
file.
This commit is contained in:
faumaray committed 2026-12-05 19:21:23 +03:00
1 parent a5b9f34c9e
commit 62d6ad01e8
13 files changed
+224 -5

No files matched your search

+3 -1
View File
@@ -78,6 +78,7 @@ void build(Void::Build::Project &project) {
"src/features/IncludeUpdate.cpp",
"src/features/CallHierarchy.cpp",
"src/features/CodeLens.cpp",
"src/features/DocumentLinks.cpp",
"src/debug/live/LiveSession.cpp",
"src/modules/ModuleWorkQueue.cpp",
"src/modules/GccScan.cpp",
@@ -160,7 +161,8 @@ void build(Void::Build::Project &project) {
"tests/features/TextStructureTests.cpp", "tests/features/CodeActionsTests.cpp",
"tests/features/SemanticTokensTests.cpp", "tests/features/InlayHintsTests.cpp",
"tests/features/FileOperationsTests.cpp", "tests/features/IncludeUpdateTests.cpp",
"tests/features/CallHierarchyTests.cpp", "tests/features/CodeLensTests.cpp"});
"tests/features/CallHierarchyTests.cpp", "tests/features/CodeLensTests.cpp",
"tests/features/DocumentLinksTests.cpp"});
auto live_worker = project.executable("vls_live_worker_fixture");
live_worker.cxx_standard(CxxStandard::Cxx26)
.sources({"tests/debug/LiveWorkerFixture.cpp"})