Skip to main content

scan_workspace

Function scan_workspace 

Source
pub async fn scan_workspace(
    folders: Vec<Uri>,
    manager: &CssVariableManager,
    on_progress: impl FnMut(usize, usize),
) -> Result<(), String>
Expand description

Scan workspace folders for CSS and HTML files.

Uses the configured lookup_files glob patterns to discover files and the ignore_globs patterns to exclude them. Document kind is resolved via document_kind::resolve_document_kind so that workspace scanning stays in sync with completion / hover / goto-definition behavior.