haskellmode-vim icon indicating copy to clipboard operation
haskellmode-vim copied to clipboard

cabal sandbox support

Open myme opened this issue 10 years ago • 4 comments

Now that cabal ships with sandbox support it would be great to have haskellmode detect sandboxes and launch ghci accordingly.

I'm not sure exactly which way is best to approach this, though. cabal repl is already available and launches ghci properly, which would work for type inspection etc. But I see that haskellmode invokes ghc without the interactive flag for tags and a few other things, which may not be as trivial to solve?

Perhaps getting some inspiration from haskell/haskell-mode/#198. A good start may be to invoke cabal repl rather than ghci when there's a .cabal file.

myme avatar May 11 '14 23:05 myme

+1

aaronlevin avatar Jun 30 '14 05:06 aaronlevin

+1. I'm just trying to get started with haskellmode-vim and it seems pretty useless without this feature. Is there a workaround? Or are haskellmode-vim users just not using cabal sandboxes?

(Whoops, just realised this is only a mirror. Is there an issue tracker for the original project?)

reasonableperson avatar Sep 30 '14 03:09 reasonableperson

I would like support for local haddock on cabal-sandboxes

RubenAstudillo avatar Nov 09 '14 06:11 RubenAstudillo

+1

kuznero avatar Dec 02 '14 16:12 kuznero