Skip to content

Commit

Permalink
Finalize Source.FixAll CodeActionKind
Browse files Browse the repository at this point in the history
Fixes #67145
  • Loading branch information
mjbvz committed Feb 12, 2019
1 parent a20c939 commit c96f759
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
8 changes: 8 additions & 0 deletions src/vs/vscode.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2014,6 +2014,14 @@ declare module 'vscode' {
*/
static readonly SourceOrganizeImports: CodeActionKind;

/**
* Base kind for auto-fix source actions: `source.fixAll`.
*
* Fix all actions automatically fix errors that have a clear fix that do not require user input.
* They should not suppress errors or perform unsafe fixes such as generating new types or classes.
*/
static readonly SourceFixAll: CodeActionKind;

private constructor(value: string);

/**
Expand Down
12 changes: 0 additions & 12 deletions src/vs/vscode.proposed.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1149,16 +1149,4 @@ declare module 'vscode' {
group?: string;
}
//#endregion

//#region Autofix - mjbvz
export namespace CodeActionKind {
/**
* Base kind for auto-fix source actions: `source.fixAll`.
*
* Fix all actions automatically fix errors that have a clear fix that do not require user input.
* They should not suppress errors or perform unsafe fixes such as generating new types or classes.
*/
export const SourceFixAll: CodeActionKind;
}
//#endregion
}

0 comments on commit c96f759

Please sign in to comment.