Closed
Description
When HLS gets an error "module Bla.Bla.Bla
is a member of a hidden package bla
" it should suggest a quick fix to insert the dependency on bla
into Cabal file using https://github.com/Bodigrim/cabal-add and carry on.
cabal-add
draft API can be examined here: https://hackage.haskell.org/package/cabal-add-0.1/candidate/docs/Distribution-Client-Add.html. My impression is that HLS should be very much capable to create Config
and write the result of executeConfig
to the disk.
CC @VeryMilkyJoe on behalf of hls-cabal-plugin
.