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

Don't use completions for cabal file codeactions #4357

Open
VeryMilkyJoe opened this issue Jul 11, 2024 · 0 comments
Open

Don't use completions for cabal file codeactions #4357

VeryMilkyJoe opened this issue Jul 11, 2024 · 0 comments
Labels
component: hls-cabal-plugin Issues related to the hls-cabal-plugin Hackathon This issue is suitable for hackathon sessions type: enhancement New feature or request

Comments

@VeryMilkyJoe
Copy link
Collaborator

VeryMilkyJoe commented Jul 11, 2024

At the moment, codeactions (PR: #3273) in cabal files put a cursor at the end of the misspelled word and then suggest any possible completions.
This is not ideal, since words that have a typo early on will not trigger the correct codeaction.
We should use a different algorithm for the fuzzy matching than completions to better support the semantics of the codeactions.

@VeryMilkyJoe VeryMilkyJoe added type: enhancement New feature or request status: needs triage component: hls-cabal-plugin Issues related to the hls-cabal-plugin labels Jul 11, 2024
@fendor fendor added Hackathon This issue is suitable for hackathon sessions and removed status: needs triage labels Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: hls-cabal-plugin Issues related to the hls-cabal-plugin Hackathon This issue is suitable for hackathon sessions type: enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants