get_diagnostics_code
Analyze code for warnings and errors with integrated linters. Choose a file or workspace, filter by severity, and get diagnostics in text or JSON to identify and fix issues.
Instructions
Analyzes code for warnings and errors using integrated linters
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional file path to check. If not provided, checks the entire workspace | |
| format | No | Output format | text |
| severities | No | Array of severity levels to include (0=Error, 1=Warning, 2=Information, 3=Hint) | |
| includeSource | No | Whether to include the diagnostic source to identify which linter/extension flagged each issue |