Skip to content

Commit

Permalink
Support refactoring: Convert anonymous class to nested
Browse files Browse the repository at this point in the history
Signed-off-by: Sheng Chen <[email protected]>
  • Loading branch information
jdneo authored and fbricon committed Sep 17, 2019
1 parent aaef6e8 commit a24c5e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/refactorAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ function registerApplyRefactorCommand(languageClient: LanguageClient, context: E
|| command === 'extractMethod'
|| command === 'extractField'
|| command === 'convertVariableToField'
|| command === 'invertVariable') {
|| command === 'invertVariable'
|| command === 'convertAnonymousClassToNestedCommand') {
const currentEditor = window.activeTextEditor;
if (!currentEditor || !currentEditor.options) {
return;
Expand Down

0 comments on commit a24c5e4

Please sign in to comment.