ghc-mod icon indicating copy to clipboard operation
ghc-mod copied to clipboard

ghc-mod using the global stack project

Open RodideBoer opened this issue 8 years ago • 3 comments

Could ghc-mod use the global stack project when outside of a stack project? It would make my Atom plugins work much nicer with random files outside of a project... :)

RodideBoer avatar Apr 05 '17 13:04 RodideBoer

I suppose now that we use the STACK_EXE environment variable as a strong hint that we should prefer stack over cabal we could do that. If you want to implement this I would be happy to point you in the right direction.

DanielG avatar May 13 '17 17:05 DanielG

I am still in the learning phase of Haskell. Still need to learn about a lot of stuff. Don't think I am capable of adding this feature.

RodideBoer avatar May 13 '17 19:05 RodideBoer

Actually looking at the code it wouldn't be as easy as I thought. This would need some refactoring of internals.

DanielG avatar May 13 '17 22:05 DanielG