diagnostics
Retrieve errors and warnings for a single file from its language server, including cross-file checks for CSS custom properties and selectors.
Instructions
Get the relevant language server's diagnostics (errors/warnings) for a single file.
For .css/.html files, this also includes index-derived warnings the single-file language server can't see: var(--x) used with no matching declaration anywhere in the same indexed root, and CSS selectors (#id/.class) with no HTML/JS reference in that root.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |