Closed
Description
I am encountering the same issue as #312, and launching code .
from the command line does not cause the code server to inherit my PATH
, which contains the $HOME/.local/bin
directory that contains the stack
binary. My hunch is that VS Code prevents the overriding of certain environment variables (such as PATH
). Given that this is the case, it would be preferable if the extension allowed users to specify the location of their stack
executable.
I view it as akin to the Python extension, where a user selects the location of the interpreter. They might have multiple interpreters installed, and the extension will respect whichever one is picked.