[I] CodeFix
Properties
Section titled “Properties”| Property | Modifier | Type | Description |
|---|---|---|---|
fix | readonly | (fixContext) => | void | Promise<void> | CodeFixEdit | CodeFixEdit[] | - |
id | readonly | string | - |
label | readonly | string | - |
resolveCodefixes? | readonly | () => Promise<CodeFix[]> | Optional async resolver that expands this codefix into multiple labeled codefixes. Called when the user triggers the code action menu (Ctrl+.). Each returned item becomes a separate entry in the quickfix menu with its own label. If not provided, the single label and fix are used as-is. |