-
-
Notifications
You must be signed in to change notification settings - Fork 389
Extend wrong thing to the import list automatically #679
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I decided to switch back to HLS 0.6.0. Every time I press Enter after typed "BuildInfo", HLS will produce |
Maybe #670 could provide an option to disable |
It seems that this feature needs a bit more work, as reported in haskell#679 I am disabling it locally in HLS rather than in ghcide
I would be nice to add a regression test and mark it as known broken, here and/or in ghcide. |
Closed by #1266 |
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
orhaskell-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.
The text was updated successfully, but these errors were encountered: