Add CodeActionKind.RefactorMove (#160730)

Fixes #160728
This commit is contained in:
Matt Bierner
2022-09-12 15:14:06 -07:00
committed by GitHub
parent 76f3be0b1f
commit 1d500fb4de
4 changed files with 16 additions and 2 deletions

View File

@@ -135,7 +135,7 @@ const Extract_Interface = Object.freeze<CodeActionKind>({
});
const Move_NewFile = Object.freeze<CodeActionKind>({
kind: vscode.CodeActionKind.Refactor.append('move').append('newFile'),
kind: vscode.CodeActionKind.RefactorMove.append('newFile'),
matches: refactor => refactor.name.startsWith('Move to a new file')
});