Skip to content

Could Handle hieExecutablePath separately for *nix and Windows #161

@QuietJoon

Description

@QuietJoon

I'm working on many Haskell projects shared by Google Drive.
However, to work across Linux(my home) and Windows(my company) on the same directory, I have to change languageServerHaskell.useCustomHieWrapperPath path every time before running VS Code by which platform that I use now.

My current situation

Now, I'm working like this way:

//"languageServerHaskell.useCustomHieWrapperPath": "${HOME}/hie.bat"
"languageServerHaskell.useCustomHieWrapperPath": "${workspaceFolder}/hie.sh"

By switching comment out based on the platform that I use now.

Question

Could you prepare the options for each platform like

"languageServerHaskell.useCustomHieWrapperPath.unix": "${workspaceFolder}/hie.sh"
"languageServerHaskell.useCustomHieWrapperPath.windows": "${HOME}/hie.bat"

I know the best way to share the code between Linux and Windows, is that pushing&pulling the code based on a repository, but I usually forget to commit and push...

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