-
-
Notifications
You must be signed in to change notification settings - Fork 400
Closed
Labels
type: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Description
Your environment
Output of haskell-language-server --probe-tools
or haskell-language-server-wrapper --probe-tools
:
$ haskell-language-server-wrapper --probe-tools
haskell-language-server version: 0.6.0.0 (GHC: 8.10.2) (PATH: /nix/store/li7n1p632m5wkkzw7yvw4ahj2mn55c2d-haskell-language-server-0.6.0.0/bin/haskell-language-server-wrapper)
Tool versions found on the $PATH
cabal: Not found
stack: 2.5.1
ghc: Not found
Which lsp-client do you use: VS Code
Describe your project (alternative: link to the project):
Contents of hie.yaml
:
cradle:
stack:
Steps to reproduce
- Have some imports from a module, for example
import Katip (permitItem)
- Use a data constructor (e.g.
ColorIfTerminal
) in the code. - Trigger code action (e.g. "Add ColorIfTerminal to to the import list of Katip")
Expected behaviour
Imports become
import Katip (permitItem, ColorStrategy(ColorIfTerminal))
Actual behaviour
import Katip (permitItem, ColorIfTerminal)
which creates an error
Metadata
Metadata
Assignees
Labels
type: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..