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

Support inferSelection when extract to field #1619

Merged
merged 2 commits into from
Dec 2, 2020

Conversation

CsCherrYY
Copy link
Contributor

@CsCherrYY CsCherrYY commented Nov 27, 2020

Relates to redhat-developer/vscode-java#1721

Add support to extractField In inferSelectionSupport capability, making it possible to infer selections if there is no selection range when extract to field.

Also add a field params in SelectionInfo to support send scope information from the server to the client.

To keep the consistency, also rename isExtractMethodInferSelectionSupport to isExtractMethodInferSelectionSupported and change some invocation about extracting method.

Signed-off-by: Shi Chen [email protected]

@eclipse-ls-bot
Copy link

Can one of the admins verify this patch?

@fbricon
Copy link
Contributor

fbricon commented Nov 27, 2020

add to whitelist

@CsCherrYY
Copy link
Contributor Author

test this please

@testforstephen
Copy link
Contributor

@CsCherrYY You have to resolve the conflicts first.

@CsCherrYY
Copy link
Contributor Author

@CsCherrYY You have to resolve the conflicts first.

Sure. I'll do it.

@testforstephen
Copy link
Contributor

test this please

@testforstephen testforstephen added this to the End November 2020 milestone Dec 2, 2020
@testforstephen testforstephen merged commit 5601989 into eclipse-jdtls:master Dec 2, 2020
@CsCherrYY CsCherrYY deleted the extractField branch December 2, 2020 09:24
mfussenegger added a commit to mfussenegger/nvim-jdtls that referenced this pull request Dec 2, 2020
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.

4 participants