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

Auto rename the extracted node generated by the refactoring 'extract to variable/constant/method' #1077

Merged
merged 1 commit into from
Jun 27, 2019

Conversation

testforstephen
Copy link
Contributor

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

Fix redhat-developer/vscode-java#333

The jdt.ls will return the rename position for the new extracted node, and it requires the client side to consume it to pop up the rename box.
extractMethod

…to variable/constant/method'

Signed-off-by: Jinbo Wang <[email protected]>
@testforstephen
Copy link
Contributor Author

An implementation from vscode-java client.
redhat-developer/vscode-java#965

@testforstephen testforstephen requested review from snjeza and fbricon and removed request for snjeza June 25, 2019 14:23
@testforstephen testforstephen merged commit d198055 into eclipse-jdtls:master Jun 27, 2019
@testforstephen testforstephen deleted the jinbo_extract branch June 27, 2019 07:26
@testforstephen testforstephen added this to the Mid July 2019 milestone Jun 27, 2019
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.

Add rename after the "Extract to method" refactor
2 participants