Get Combined Code Fix
getCombinedCodeFixApplies all instances of a code fix across a file in one action, like adding all missing imports or removing unused variables. Call after getCodeFixes with the fixId.
Instructions
Get a combined code fix that applies all instances of a fix across a file in one action. For example, "Add all missing imports" or "Remove all unused variables". Returns the full set of file edits as a CombinedCodeActions response. Use getCodeFixes first to discover available fixId values, then pass the fixId here to get the combined fix for the whole file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File path (absolute or relative to cwd) | |
| fixId | Yes | The fixId from a code fix (e.g., "fixMissingImport", "unusedIdentifier", "inferFromUsage") |