Closed
Description
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
Expected behaviour
Don't add return
to the import list.
Actual behaviour
It was added incorrectly.