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

Provide cancel support for hover #1502

Merged
merged 1 commit into from
Mar 22, 2023

Conversation

angelozerr
Copy link
Contributor

Provide cancel support for hover

Fixes #1474

Fixes eclipse-lemminx#1474

Signed-off-by: azerr <azerr@redhat.com>
@datho7561
Copy link
Contributor

It seems like cancelChecker.checkCanceled() is never called in any of the hover code, so the requests will never be cancelled.

Copy link
Contributor

@datho7561 datho7561 left a comment

Choose a reason for hiding this comment

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

This appears to be working, I didn't run into any new bugs with hover when running this PR. Just to leave a note about this: hover requests are never cancelled in lemminx itself, but an extension onto lemminx, like lemminx-maven, might benefit from cancellation support. Thanks, Angelo!

@datho7561 datho7561 merged commit b34a847 into eclipse-lemminx:main Mar 22, 2023
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.

Provide cancel support for hover
2 participants