File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2110,6 +2110,15 @@ declare module 'vscode' {
21102110 */
21112111 kind ?: CodeActionKind ;
21122112
2113+ /**
2114+ * Marks this as a preferred action. Preferred actions are used by the `auto fix` command and can be targeted
2115+ * by keybindings.
2116+ *
2117+ * A quick fix should be marked preferred if it properly addresses the underlying error.
2118+ * A refactoring should be marked preferred if it is the most reasonable choice of actions to take.
2119+ */
2120+ isPreferred ?: boolean ;
2121+
21132122 /**
21142123 * Creates a new code action.
21152124 *
Original file line number Diff line number Diff line change @@ -1129,18 +1129,6 @@ declare module 'vscode' {
11291129 }
11301130 //#endregion
11311131
1132- //#region CodeAction.isPreferred - mjbvz
1133- export interface CodeAction {
1134- /**
1135- * Marks this as a preferred action. Preferred actions are used by the `auto fix` command.
1136- *
1137- * A quick fix should be marked preferred if it properly addresses the underlying error.
1138- * A refactoring should be marked preferred if it is the most reasonable choice of actions to take.
1139- */
1140- isPreferred ?: boolean ;
1141- }
1142- //#endregion
1143-
11441132 //#region Tasks
11451133 export interface TaskPresentationOptions {
11461134 /**
You can’t perform that action at this time.
0 commit comments