Skip to content

Commit a24c5e4

Browse files
jdneofbricon
authored andcommitted
Support refactoring: Convert anonymous class to nested
Signed-off-by: Sheng Chen <sheche@microsoft.com>
1 parent aaef6e8 commit a24c5e4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/refactorAction.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ function registerApplyRefactorCommand(languageClient: LanguageClient, context: E
3737
|| command === 'extractMethod'
3838
|| command === 'extractField'
3939
|| command === 'convertVariableToField'
40-
|| command === 'invertVariable') {
40+
|| command === 'invertVariable'
41+
|| command === 'convertAnonymousClassToNestedCommand') {
4142
const currentEditor = window.activeTextEditor;
4243
if (!currentEditor || !currentEditor.options) {
4344
return;

0 commit comments

Comments
 (0)