pub fn complete_with_derived(
source: &str,
file: &ParsedFile,
scopes: &[Scope],
catalog: &Catalog,
derived: &Catalog,
offset: TextSize,
) -> Vec<Item>Expand description
Same as complete but takes the buffer-derived catalog
(normally source_tables::from_source(file, source)) as an
explicit parameter instead of computing it internally. catalog
and derived are merged with catalog winning on collisions
(matches source_tables::merge’s live-wins-over-derived
semantics).