[Improvement] Add button to popup that appears when "intero" isn't found
This is not a bug, but an improvement suggestion.
When a Haskell-based VS Code project is opened with Haskero installed, in which the user hasn't yet run the stack build intero
command in the project directory, a popup appears with the following message:
Request initialize failed with message: Intero is not installed.
See installation instructions here : https://github.com/commercialhaskell/intero/blob/master/TOOLING.md#installing (details in Haskero tab output)
Details process exited with code 1 stdout: stderr: Configuring GHCi with the following packages: orderbook
Executable named intero not found on path: [...]
The fix is to cd
into the project directory and execute stack build intero
, after which everything works.
It would be super nice if the aforementioned popup simply said "Haskero dependencies not installed for current project. Install dependencies? [Yes] [Cancel]", where clicking the Yes
button would run the stack build intero
command and reload Haskero.