Intero seen as uninstalled unless code is opened from the shell with "code ."
-
Bug description : After opening an empty code instance, and opening a stack project directory with
^K^O
, an error message states that Intero is not installed. -
Observed behaviour : An error states that intero isn't installed when it is. This is demonstrated by opening the editor from the command line with the suggested command,
code .
-
Expected behaviour : Opening the directory from the editor shouldn't be different from opening the editor from the shell, stating the cwd, at least as far as intero is concerned.
-
OS: windows
-
Plugin (ghc, stack, intero and haskero) version and VSCode version used : VSCode 1.14.2; GHC 8.0.2; Stack 1.5.1; Haskero 1.3.1. Not sure about the intero version or how to check it, but it was installed yesterday with
stack build intero
. -
Steps to reproduce:
-
Open a new vs code instance.
-
Use
^K^O
to open a project directory, with stack and intero already set up. Error comes up. -
Open the editor from the shell. Intero is correctly detected.
Thank you for the fantastic extension!