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.
| Capability | code.highlighting_level |
|---|---|
| Area | Code insight and refactoring |
| Access | changes files |
| Reaches | — |
| Rights | write |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
pathrequired | string | Workspace-relative file. |
level | string | New 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.
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 } }}