Deduplicate Code Actions Menu #34820
Unanswered
parker-codes
asked this question in
Help and General Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I couldn't find a more applicable discussion category, so I chose this "Help and General" one.
The Issue
The very small bug I found is that the code actions popup has duplicate items:
Proposed Fix
A simple deduplication should fix this, at it's source.
I adjusted the
new()
function to dedupe with a HashSet based on theexcerpt_id
and theaction.lsp_action.title()
and it works. Let me know if this is a good solution and I'll submit the PR. I just wanted to check first.Beta Was this translation helpful? Give feedback.
All reactions