roslyn:get_diagnostics
Retrieve compiler diagnostics for a file or project to catch errors, warnings, and info messages before committing. Filter by severity, file, or project path.
Instructions
Get compiler errors, warnings, and info messages for a file or entire project. Returns: list of diagnostics with id, message, severity, and location. Use before committing to catch issues.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | No | Optional: path to specific file, omit for all files | |
| severity | No | Optional: filter by severity (Error, Warning, Info) | |
| projectPath | No | Optional: path to specific project | |
| includeHidden | No | Include hidden diagnostics (default: false) |