You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Hello CompletionBuilder
* Move completions_from_unique_sources() into the builder
* Move completions_from_composite_sources() into the builder
* Opening move re: using parameter_hints from the builder
* Let's try an extension trait (namespace)
* Use extension trait (search_path)
* Use extension trait (workspace)
* Move pipe root into the builder and make it lazy
* Get pipe root from the builder (not passing as arg)
* Opening move for a single interface for completion sources
* Put unique and composite completion aggregation logic back where it started
* Fully shift to CompletionSource approach for unique sources
* Make CompletionSource trait object-safe by adding &self parameter
Allows us to iterate in a clean way over unique sources
* Adopt CompletionSource trait for composite sources
Finally all completion sources are shifted over to a new, common pattern.
Some return types were changed (to Option<Vec<CompletionItem>>) as a move towards consistency in completion source functions
* Update copyright headers
* More consistent with pattern used by other completion sources
* Consolidate imports
* Be more consistent and intentional around logging for unique sources
* Borrow some ideas from unique for composite sources
* More work on logging, mostly for composite sources
Remove on-entry logging for completion sources, since the 2 main aggregators now log before trying each source
Shift towards debug for logging from a completion source or related helpers
* Make parameter hints lazy
* Remove superficial differences in handling of parameter hints and pipe root
* This hasn't been dead code for a while
* Can have same visiblity as composite
* Rescue existing comments
* Can be private
* Restore / add some hints
* Use a more restricted visibility
* Tweak comment
* The Great Renaming
* CompletionBuilder -> CompletionContext
* context -> document_context (where necessary for disambiguation)
* Get rid of the loops, but use common helpers for each "iteration" / source
* Use `log::trace!`, not `log::debug!`
* Don't import `anyhow::Result`
* Go back to marshalling unique and composite completions via free functions
* Rename to push_completions()
* Encapsulate pipe root error handling in its accessor
* Remove unnecessary re-export of find_pipe_root
0 commit comments