haskell/haskell-ide-engine
View on GitHubSelect Project based on the existence of `dist-newstyle`, `dist` and `.stack_work`
Open
#1,510 opened on Dec 29, 2019
component: cabal-helpergood first issuetype: enhancement
Description
Instead of just relying on cabal.project, etc ... and installed build-tools, base the decision of build-tool selection on the existence of existing build artifacts. In the case of a tie between cabal and stack, break the tie arbitrarily. Changes are only necessary to https://github.com/haskell/haskell-ide-engine/blob/master/hie-plugin-api/Haskell/Ide/Engine/Cradle.hs