AHK_LSP
Analyze and fix AutoHotkey v2 code with LSP-like capabilities for improved code quality and error correction.
Instructions
Provides LSP-like analysis and auto-fixing for AutoHotkey v2 code. Accepts direct code or a file path (falls back to active file).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | The AutoHotkey v2 code to analyze or fix | |
| filePath | No | Path to .ahk file to analyze (defaults to active file when code omitted) | |
| mode | No | Mode of operation: analyze (default) or fix | analyze |
| fixLevel | No | Aggressiveness of fixes (only for mode="fix") | safe |
| autoFix | No | Automatically apply fixes (legacy parameter, use mode="fix") | |
| returnFixedCode | No | Return the fixed code in the output (legacy parameter) | |
| showPerformance | No | Show performance metrics (legacy parameter) |