haskell / vscode-haskell

VS Code extension for Haskell, powered by haskell-language-server
https://marketplace.visualstudio.com/items?itemName=haskell.haskell
Other
556 stars 90 forks source link

Move implicit-hie logic into vscode-haskell #894

Open hasufell opened 1 year ago

hasufell commented 1 year ago

I feel this is shady. It's better to move this into vscode-haskell, where we can prompt the user for a decision and then create hie.yaml for them.

HLS CI should have simple and predictable behavior. E.g. either use default cradle, always fall back to cabal or error out.

July541 commented 1 year ago

Is it a good UX to give a prompt for a brand new haskeller to let them make a decision?

hasufell commented 1 year ago

Is it a good UX to give a prompt for a brand new haskeller to let them make a decision?

I question whether a brand new haskeller will end up with a project containing both stack.yaml and cabal.project and in case they do, they should absolutely be notified that this is an ambiguous situation.