Add source code action kind

Fixes #47621

Adds the concept of a source code action that applies to an entire file. Does not show these actions in the lightbulb menu by default
This commit is contained in:
Matt Bierner
2018-04-11 15:34:20 -07:00
parent c1b9138a23
commit 556fa03cf3
9 changed files with 141 additions and 39 deletions

View File

@@ -903,6 +903,7 @@ export class CodeActionKind {
public static readonly RefactorExtract = CodeActionKind.Refactor.append('extract');
public static readonly RefactorInline = CodeActionKind.Refactor.append('inline');
public static readonly RefactorRewrite = CodeActionKind.Refactor.append('rewrite');
public static readonly Source = CodeActionKind.Empty.append('source');
constructor(
public readonly value: string