mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-05 04:45:23 +01:00
more inclusive for showing code action previews (#210873)
added more labels to show preview
This commit is contained in:
@@ -301,7 +301,9 @@ export class CodeActionController extends Disposable implements IEditorContribut
|
||||
const refactorKinds = [
|
||||
CodeActionKind.RefactorExtract,
|
||||
CodeActionKind.RefactorInline,
|
||||
CodeActionKind.RefactorRewrite
|
||||
CodeActionKind.RefactorRewrite,
|
||||
CodeActionKind.RefactorMove,
|
||||
CodeActionKind.Source
|
||||
];
|
||||
|
||||
canPreview = refactorKinds.some(refactorKind => refactorKind.contains(hierarchicalKind));
|
||||
|
||||
Reference in New Issue
Block a user