Skip to content

Handle empty quickfix list - #535

Merged
mickaelistria merged 1 commit into
eclipse-lsp4e:masterfrom
rubenporras:fixMarkerResolution
Mar 8, 2023
Merged

mickaelistria merged 1 commit into
eclipse-lsp4e:masterfrom
rubenporras:fixMarkerResolution

Conversation

@rubenporras

Copy link
Copy Markdown
Contributor

Quick fixes for a problem marker shown fine if there are quick fixes available. However, if there are no quick fixes available an empty list of code actions is received on the lsp4e side. However, this result is ignored (this the chunk of code is changed by this PR) and therefore Computing... is shown indefnitely under quick fixes for problem that don't have a quick fix.

Quick fixes for a problem marker shown fine if there are quick fixes
available. However, if there are no quick fixes available an empty list
of code actions is received on the lsp4e side. However, this result is
ignored (this the chunk of code is changed by this PR) and therefore
Computing... is shown indefnitely under quick fixes for problem that
don't have a quick fix.
@ahmedneilhussain

Copy link
Copy Markdown
Contributor

Looks good to me, @rubenporras 👍

@mickaelistria
mickaelistria requested a review from BoykoAlex March 8, 2023 14:19
@mickaelistria

Copy link
Copy Markdown
Contributor

@BoykoAlex Does it fix issue #531 ?

@rubenporras

Copy link
Copy Markdown
Contributor Author

Okay, I will wait for his feedback before merging.

@BoykoAlex

BoykoAlex commented Mar 8, 2023 •

Copy link
Copy Markdown
Contributor

@rubenporras @mickaelistria @ahmedneilhussain Yes, this one does fix #531 for me! Thank you!

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