check
Run compiler diagnostics on one file via the running language server. Get errors and warnings in milliseconds to confirm an edit compiles without a build.
Instructions
Compiler diagnostics for one file, from the already-running language server — errors and warnings in milliseconds, without a build. Run this after editing to confirm the change compiles.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path relative to the repo root | |
| limit | No | Max diagnostics (default 40) | |
| severity | No | Lowest severity to report: 1 errors only, 2 errors+warnings (default), 3 adds info, 4 adds style hints. |