The diagnostics tool validates workspace code files. Requires Piclaw >=1.8.0.
Open Settings → Add-Ons and install code-validator from the catalog. Install the validator binaries needed by your project.
| Files | Command |
|---|---|
.ts, .tsx, .js, .jsx |
bunx oxlint <file> |
.py |
python3 -m py_compile <file> |
.json |
jq . <file> |
Call diagnostics without a file to list the configured extensions and commands. Missing binaries are reported as warnings rather than hard failures.
Add validators in /workspace/.pi/validators.json. Each extension may map to one command or an array of commands; use $FILE where the validated path belongs.
{
".go": { "command": ["go", "test", "$FILE"] }
}/workspace