Skip to content

Feature request: Add setting to specify stack/cabal/ghc path #396

Closed
@zbs

Description

@zbs

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: enhancementAn enhancement to an already existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions