Skip to content

highlighting_level

MCP tools › Code insight and refactoring

The highlighting level of a file, as the editor's problem indicator offers it: none (no problems shown), syntax (errors only), essential (errors and warnings) or all (default). Without level it is only read; with level it is set for the file and stored in .ferris-idea/highlighting.json, which the window reads. Returns the path, the level, what it shows and whether the file was written. The analysis itself is not affected: file_diagnostics and inspect_code still report everything.

Capabilitycode.highlighting_level
AreaCode insight and refactoring
Accesschanges files
Reaches—
Rightswrite
Dry runnone

Arguments

ArgumentTypeDescription
pathrequiredstringWorkspace-relative file.
levelstringNew level: none, syntax, essential or all; omitted, the level is only read.

Call it from a shell

ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.

Terminal window
ferris-idea call ~/my-project highlighting_level '{"path":"<string>"}'
Input schema as JSON
{
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"description": "Workspace-relative file.",
"type": "string"
},
"level": {
"description": "New level: `none`, `syntax`, `essential` or `all`; omitted, the level is only read.",
"type": [
"string",
"null"
],
"default": null
}
}
}