mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user