apply_code_action
Apply a named SystemVerilog code action at a specified line in a file, with optional preview to inspect the diff before writing.
Instructions
Run the code action named title (from code_actions, prefix match ok) at line of file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | SystemVerilog file path, absolute or relative to the workspace root | |
| line | Yes | 1-based line number | |
| title | Yes | ||
| symbol | No | Symbol text as written on that line | |
| preview | No | Return the diff without writing (default false) |