You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mitchellwrosen opened this issue
Apr 30, 2024
· 1 comment
Labels
type: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..ZuriHacThis issue is suitable for ZuriHac Hacking sessions
I'm often using code actions to import out-of-scope identifiers. But sometimes I accidentally run a code action on a line that contains both an out-of-scope identifier and an underscore, such as:
TwoWay.twoWay (zipDefnsWith (alignWith _) undefined) conflicts
^^^^^^^^^
this is out of scope, andI want HLS to suggest
`import Data.Semialign (alignWith)` with a code action.
In this case, the _ on the same line will cause 1800 (!) suggestions that look like
1: replace _ with foo
2: replace _ with bar
...
for (I guess?) every single identifier in scope.
The text was updated successfully, but these errors were encountered:
type: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..ZuriHacThis issue is suitable for ZuriHac Hacking sessions
I'm often using code actions to import out-of-scope identifiers. But sometimes I accidentally run a code action on a line that contains both an out-of-scope identifier and an underscore, such as:
In this case, the
_
on the same line will cause 1800 (!) suggestions that look likefor (I guess?) every single identifier in scope.
The text was updated successfully, but these errors were encountered: