Consume a compiler-agnostic completion index
Under D-032, completion can now merge candidates from a documented, versioned index file produced by any external tool. The bounded core parses and selects the innermost covering scope, the server puts its items ahead of index-backed ones and takes isIncomplete from the scope's complete flag, and registered feature tests cover parsing, selection and bounds. A real stdio session returned the provided items first with isIncomplete false inside the scope and true outside.
This commit is contained in:
1 parent
236c3c5718
commit
4a029152e9
13 files changed
+336
-11
No files matched your search
@@ -82,6 +82,7 @@ void build(Void::Build::Project &project) {
|
||||
"src/features/Formatting.cpp",
|
||||
"src/features/TypeHierarchy.cpp",
|
||||
"src/features/Outline.cpp",
|
||||
"src/features/CompletionSource.cpp",
|
||||
"src/debug/live/LiveSession.cpp",
|
||||
"src/modules/ModuleWorkQueue.cpp",
|
||||
"src/modules/GccScan.cpp",
|
||||
@@ -166,7 +167,8 @@ void build(Void::Build::Project &project) {
|
||||
"tests/features/FileOperationsTests.cpp", "tests/features/IncludeUpdateTests.cpp",
|
||||
"tests/features/CallHierarchyTests.cpp", "tests/features/CodeLensTests.cpp",
|
||||
"tests/features/DocumentLinksTests.cpp", "tests/features/FormattingTests.cpp",
|
||||
"tests/features/TypeHierarchyTests.cpp", "tests/features/OutlineTests.cpp"});
|
||||
"tests/features/TypeHierarchyTests.cpp", "tests/features/OutlineTests.cpp",
|
||||
"tests/features/CompletionSourceTests.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