Closed
Description
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, and I 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.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done