You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Code action to suggest adding missing imports from pkg db
The implementation looks in modules loaded from the package database. It should
only look in packages declared as dependencies of the project. The package
modules are loaded lazily and are global to the HscEnv, so the success rate will
depend on what has been loaded so far in the env.
* Avoid overlapping with extend import suggestions
> import Data.Text (Text)
> foo = pack "foo"
Teach ghcide to suggest only:
"Add pack to the import list of Data.Text"
and avoid suggesting also:
"Import Data.Text (pack)"
haskell-language-server/hls-plugin-api/src/Ide/Plugin/Config.hs
Lines 44 to 54 in 84a2274
The text was updated successfully, but these errors were encountered: