haskell / haskell-ide-engine

The engine for haskell ide-integration. Not an IDE
BSD 3-Clause "New" or "Revised" License
2.38k stars 211 forks source link

HIE should deprioritize suggesting importing 'Internal' modules #1702

Closed expipiplus1 closed 4 years ago

expipiplus1 commented 4 years ago

Sometimes HIE prompts me to add an import (with hsimport I believe) and this is great!

It's a tiny papercut that the first result is sometimes for some library's Internal module, this means that to import the name from the non-internal module I have to navigate the code action list to select the right one instead of easily following the first selection (for which I have an editor shortcut defined)

It would be nice if the Internal imports were returned last in the list.