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 textDocument/selectionRange #1102

Merged
merged 5 commits into from Jul 11, 2019

Conversation

akaroml
Copy link
Contributor

@akaroml akaroml commented Jul 9, 2019

Signed-off-by: Rome Li rome.li@microsoft.com
Fix #1100

Signed-off-by: Rome Li <rome.li@microsoft.com>
@fbricon
Copy link
Contributor

fbricon commented Jul 9, 2019

errr... how do you test this in vscode? I don't see any document/selectionRange requests by clicking or selecting the code, even though I see the server returning "selectionRangeProvider": true

@akaroml
Copy link
Contributor Author

akaroml commented Jul 9, 2019

errr... how do you test this in vscode? I don't see any document/selectionRange requests by clicking or selecting the code, even though I see the server returning "selectionRangeProvider": true

The vsocode-languageclient needs to be updated in vscode-java project as well. See redhat-developer/vscode-java#976

Signed-off-by: Rome Li <rome.li@microsoft.com>
Signed-off-by: Rome Li <rome.li@microsoft.com>
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.

Except for minor remarks, this seems to work pretty well. We should definitely be able to ship it in the next release.

Signed-off-by: Rome Li <rome.li@microsoft.com>
Signed-off-by: Rome Li <rome.li@microsoft.com>
@fbricon fbricon merged commit 0423c23 into eclipse-jdtls:master Jul 11, 2019
@fbricon
Copy link
Contributor

fbricon commented Jul 11, 2019

Thanks for your contribution @akaroml! Keep'em coming!

@akaroml akaroml deleted the selection-range branch July 12, 2019 00:44
@akaroml
Copy link
Contributor Author

akaroml commented Jul 12, 2019

Thanks for your contribution @akaroml! Keep'em coming!

Feels great coding! Thanks!

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.

Support "textDocument/selectionRange"
3 participants