Skip to main content

WorkspaceClassSearch

Type Alias WorkspaceClassSearch 

Source
pub type WorkspaceClassSearch<'a> = &'a dyn Fn(&str) -> Vec<(String, CompletionItemKind, String)>;
Expand description

Workspace-index-backed class name search: given a typed prefix, returns (short_name, kind, fqn) for every workspace class whose short name starts with it — including classes defined in files that are not open in the editor (e.g. vendor/). Complements other_docs, which only covers currently open documents.