reindex
Re-index the Dart workspace to register newly created, deleted, or renamed files, ensuring the LSP server reflects current project state.
Instructions
Re-scan the workspace and index new or removed Dart files.
Call this after creating, deleting, or renaming Dart files so the LSP server becomes aware of the changes.
Args: project_path: Absolute path to the Dart project root.
Returns: Summary of files added, removed, and total.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |