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

Cancel delegated java/* requests #442

Open
angelozerr opened this issue Apr 11, 2024 · 0 comments
Open

Cancel delegated java/* requests #442

angelozerr opened this issue Apr 11, 2024 · 0 comments

Comments

@angelozerr
Copy link
Contributor

When a Java file is opened, the MicroProfile LS delegate codeAction, codeLens, completion LSP request to an external Java component (JDT, IntelliJ).

When the LSP client cancel the codeAction, completion, codeLens request to the MicroProfile LS, it doesn't cancel the future which consume the external component.

In otherwise, LSP client send this request:

[Trace - 12:54:18] Sending request 'textDocument/codeAction - (233)'.

The MicroProfile LS delegate the request to the external java component:

[Trace - 12:54:18] Received request 'microprofile/java/codeAction - (208)'

When 'textDocument/codeAction ' future is cancelled, it doesn't cancel the 'microprofile/java/codeAction ' future processed by the external Java component.

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

No branches or pull requests

1 participant