Serve reference code lenses and the showReferences command
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.
This commit is contained in:
1 parent
ec86a79a1a
commit
0bf5873069
12 files changed
+279
-5
No files matched your search
@@ -77,6 +77,7 @@ void build(Void::Build::Project &project) {
|
||||
"src/features/FileOperations.cpp",
|
||||
"src/features/IncludeUpdate.cpp",
|
||||
"src/features/CallHierarchy.cpp",
|
||||
"src/features/CodeLens.cpp",
|
||||
"src/debug/live/LiveSession.cpp",
|
||||
"src/modules/ModuleWorkQueue.cpp",
|
||||
"src/modules/GccScan.cpp",
|
||||
@@ -159,7 +160,7 @@ 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/CallHierarchyTests.cpp", "tests/features/CodeLensTests.cpp"});
|
||||
auto live_worker = project.executable("vls_live_worker_fixture");
|
||||
live_worker.cxx_standard(CxxStandard::Cxx26)
|
||||
.sources({"tests/debug/LiveWorkerFixture.cpp"})
|
||||
|
||||
Reference in new issue
Block a user