-
-
Notifications
You must be signed in to change notification settings - Fork 369
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
Limit the number of valid hole fits #1914
Conversation
@pepeiborra commented in the original pr
I think we should take in account the ghc flag in some way, at least to honour it if the user has set it on purpose. So i think that maybe we should follow the recommendation and set the flag auto for the specific ghc session for hls if users didnt set it explicitly. |
5c7ea9b
to
31757fe
Compare
Thanks Joe! |
Co-authored-by: Pepe Iborra <[email protected]>
@expipiplus1 Tests from haskell-language-server/ghcide/test/exe/Main.hs Lines 2433 to 2458 in b970e25
use filtered actions, so these keep failing. |
hmm, the tests don't run for me locally. Would it be possible for someone else to take over this PR, please?
|
This comment has been minimized.
This comment has been minimized.
tests failing:
|
Note! Valid hole-fits are a lot faster now on HEAD, so this might not be required anymore. |
That's good news but my gripe was that when there are too many to choose
from at a glance then one may as well just type it. The speed at which they
appear wasn't really an issue for me here.
…On Wed, 6 Oct 2021, 8:11 am Matthías Páll Gissurarson, < ***@***.***> wrote:
Note! Valid hole-fits are a lot faster now on HEAD, so this might not be
required anymore.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1914 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGRJXA3VBGKM7UHEIZTPSLUFOH2NANCNFSM46TIJRFQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Hole fitting solving would always be costly for the foreseeable futuristic future. I consider 10 as a sane default (which would terminate mostly in the sane time & not clutter much, which I would prefer). Lets not bikeshed - don't let the ideal be the enemy of the good. @expipiplus1 would you be kind to push it over the last bump? ❤️ |
Sorry, I won't be able to get to this in a timely manner. Happy for someone else to take over though. |
Yep. Looked into commits. Rebasing for this diff was a bit excessive 🤣 Ok then somebody from us would finish this. |
Hey all. What's left for this one to get in? |
This continues to be desirable but this implementation seems dead. Does anyone want to pick it up? |
Superseded. |
Originally haskell/ghcide#888