Remove unused code action enum and mark edits as always being a workspaceedit

This commit is contained in:
Matt Bierner
2018-01-04 11:29:21 -08:00
parent 1b847dc693
commit afb67f4677

View File

@@ -814,11 +814,11 @@ export class CodeAction {
command?: vscode.Command;
edits?: TextEdit[] | WorkspaceEdit;
edits?: WorkspaceEdit;
dianostics?: Diagnostic[];
constructor(title: string, edits?: TextEdit[] | WorkspaceEdit) {
constructor(title: string, edits?: WorkspaceEdit) {
this.title = title;
this.edits = edits;
}
@@ -905,11 +905,6 @@ export class SignatureHelp {
}
}
export enum CodeActionType {
QuickFix = 1,
Refactoring = 2
}
export enum CompletionTriggerKind {
Invoke = 0,
TriggerCharacter = 1