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
@@ -62,7 +62,7 @@ suite covers stepping, inspection per generation, continue, cancel, refusal
|
||||
without a stop, malformed output and the deadline, and a real DAP transcript
|
||||
test drives the adapter end to end.
|
||||
|
||||
Completion is now served: `textDocument/completion` is advertised and answered from the symbol index through `EditorDiagnostics::completion`, with a bounded ranking core in `include/vls/features/` and registered `vls_feature_tests`. Results are explicitly incomplete because the index does not prove visibility; compiler-native completion, deferred detail resolution and signature help remain open.
|
||||
A compiler-agnostic completion index (`--completion-index`) can supply proven candidates merged ahead of index-backed ones. Completion is now served: `textDocument/completion` is advertised and answered from the symbol index through `EditorDiagnostics::completion`, with a bounded ranking core in `include/vls/features/` and registered `vls_feature_tests`. Results are explicitly incomplete because the index does not prove visibility; compiler-native completion, deferred detail resolution and signature help remain open.
|
||||
|
||||
Index-backed rename coverage is now merged into the navigation fact set (`vls/features/IndexNavigation.hpp`): persisted index contexts and records join the set with the index's completeness, existing compiler-derived facts win, and records without a known current content identity stay non-editable so rename refuses them. Multi-file rename can therefore be ready from real index data when a transactional client is present, proven by registered `vls_feature_tests` cases.
|
||||
|
||||
|
||||
Reference in new issue
Block a user