Closed enolive closed 4 years ago
Thanks for extensive report!
Because the were in duplicates in the code completion suggestions i made a change there. So that probably caused your issue. Will take a look.
Should be fixed in https://github.com/rikvdkleij/intellij-haskell/releases/tag/v1.0.0-beta77
Not yet officially released because i first want to know if bug #587 is fixed
I can confirm that the fix works, at least for Record and Union types.
I still don't get any auto-completion suggestions for type aliases (such as type LastName = Name
)
beta75:
beta77:
Ok, thanks, will fix that.
Should be fixed in beta78
Yeah, I can confirm that. Thanks for your help! :heart:
after the latest update I noticed that I am no longer able to auto-complete my defined types (and also their type constructors) where they are defined. I am on the latest IntelliJ Ultimate (2020.1.3)
However, this still works when putting them in a module and trying to access from a different file
I tried to update my Haskell tools which unfortunately did not help. I can also reproduce the problem in a fresh Haskell project.
Steps to reproduce:
stack new hello-haskell new-template
)when trying to use the types by starting to type in
Lib.hs
(Test, Union, Person) or their Type constructors (Test, Person, First, Second) I don't get any auto-completion suggestions. However, using them inside ofSpec.hs
(after importing Lib, of course) works perfectly.I noticed some strange TypeInfo in the auto-complete selection in 1.0.0-beta75 (which I am going back for now, as this is a deal breaker for me :cry:). Thought it might help