Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring: Extract to Field #1088

Merged
merged 2 commits into from
Jul 4, 2019

Conversation

testforstephen
Copy link
Contributor

Signed-off-by: Jinbo Wang [email protected]

Close #1081
Close #772

When selecting an expression, extract to field.
extractField

When selecting a variable declaration, convert the variable to field.
convertToField

@testforstephen
Copy link
Contributor Author

vscode-client implementation: redhat-developer/vscode-java#971

@testforstephen testforstephen requested review from fbricon and snjeza July 3, 2019 03:13
Copy link
Contributor

@fbricon fbricon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only have a few minor comments. This works really well. I also tested when the client doesn't support advanced refactoring and it gracefully falls back to the default behavior seen in Eclipse.
Nice job @testforstephen !

Signed-off-by: Jinbo Wang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactoring: Extract to Field Add a proposal for convert local variable to field
3 participants