Skip to content

Code action "Apply all hints" shows everywhere #1341

Closed
@berberman

Description

@berberman

Your environment

Output of haskell-language-server --probe-tools or haskell-language-server-wrapper --probe-tools:

haskell-language-server version: 0.9.0.0 (GHC: 8.10.3) (PATH: /home/berberman/.cabal/store/ghc-8.10.3/haskell-language-server-0.9.0.0-18058efd60909de3b42ad413a831db1d65bdb70ecd78bdd620d47f958f9480c0/bin/haskell-language-server)
Tool versions found on the $PATH
cabal:          3.2.0.0
stack:          Not found
ghc:            8.10.3

Which lsp-client do you use:
vscode

Not sure if it's intended, but imo this code action should populate accompanying each single fix, just like the code action for removing all redundant imports. (cc @jneira)

A

on whitespace:

B

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: hls-hlint-plugintype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions