Skip to content

Extend wrong thing to the import list automatically #679

Closed
@berberman

Description

@berberman

I used ghcide master before HLS 0.7.0 released, and I encountered this many times.
Importing things automatically is a cool feature, but here are some unsolved defects: haskell/ghcide#930 (comment)
BTW, before these problems get fixed, I would like to disable this automatic extending, but there seems to be no way :(

Your environment

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

haskell-language-server version: 0.7.0.0 (GHC: 8.10.2) (PATH: /home/berberman/.cabal/store/ghc-8.10.2/haskell-language-server-0.7.0.0-366830c6e84454f47d73ac01246969cb5c550194b34bde3428fbd57c6144f4d0/bin/haskell-language-server)
Tool versions found on the $PATH
cabal:		3.2.0.0
stack:		2.5.1
ghc:		8.10.2

Which lsp-client do you use:

vscode
Describe your project (alternative: link to the project):
a new draft project

Steps to reproduce

Peek

Expected behaviour

Don't add return to the import list.

Actual behaviour

It was added incorrectly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: ghcidestatus: blockedNot actionable, because blocked by upstream/GHC etc.type: 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