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
@@ -24,6 +24,8 @@ struct WorkspaceLaunch {
|
||||
std::shared_ptr<const semantic::GccProfile> diagnostics_profile{};
|
||||
// Versioned reflection provenance snapshot served as read-only hover.
|
||||
std::optional<std::filesystem::path> reflection_snapshot;
|
||||
// A compiler-agnostic completion index produced outside VLS.
|
||||
std::optional<std::filesystem::path> completion_index;
|
||||
};
|
||||
|
||||
struct SemanticDriver {
|
||||
|
||||
Reference in new issue
Block a user