Analyze Project
analyze_projectChecks a Xojo project for compile errors and warnings without building, reporting unused variables, type mismatches, deprecated APIs, and other issues by project or selected item.
Instructions
Analyzes the current Xojo project for compile errors and warnings without building. Reports unused variables, type mismatches, deprecated API usage, and other issues. Pass scope="item" to analyze only the currently selected item (faster); default is "project" to analyze everything. Returns 'No errors or warnings found.' or one line per issue with its type, message and location. Any error makes the call fail; warnings alone do not. Nothing is built, run or changed. Waits up to one minute. Needs the Xojo IDE running with the project open.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | "project" (default) or "item", the item selected in the Navigator; select it first with select_project_item. |