intellij-haskell
intellij-haskell copied to clipboard
Allow auto-completion for not-imported symbols
When working with other languages (at least with Java, Kotlin, Rust and Elm) IntelliJ propose to auto complete with every accessible item, even if they are not in scope. If we choose to take the proposed completion, then IntelliJ add the necessary import.
With intellij-haskell, this feature doesn't seem to be provided yet. The auto-completion proposes only symbols that are already imported.
It would be nice if we could get auto-completion for symbols that are not already imported with this Plugin. Without it, we must remember by heart what symbols exist or not, and what is the name of the module that contains the symbol.
Thanks for reporting.
I will consider your request. Currently you can type the of the name of an existing identifier which is not in scope and then IntelliJ will show you a context action to select which module to import.
Currently you can type the of the name of an existing identifier which is not in scope and then IntelliJ will show you a context action to select which module to import.
Yes, but that doesn't solve what I said:
we must remember by heart what symbols exist or not
Without auto-completion, it is hard to explore. I must know that the identifier exist, write it entirely (since auto-completion, will not show up), before being able to use the import intention.
Thanks for this good plugin by the way ;-)