get_code_actions
Obtain refactorings, quick fixes, and other code modifications for a selected range in a file. Provide the file path and range to see applicable actions.
Instructions
Get code actions for a specific range in a file. Use this tool to obtain available refactorings, quick fixes, and other code modifications that can be applied to a selected code range. Examples include adding imports, fixing errors, or implementing interfaces. Requires the file to be opened first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_line | Yes | End line number | |
| file_path | Yes | Path to the file | |
| end_column | Yes | End column position | |
| start_line | Yes | Start line number | |
| language_id | Yes | The programming language the file is written in | |
| start_column | Yes | Start column position |