Skip to content

languageServerHaskell.useCustomHieWrapperPath option don't work properly with workspaceFolder variable on Windows #162

@QuietJoon

Description

@QuietJoon

When I set languageServerHaskell.useCustomHieWrapperPath with absolute path or ${HOME} variable, it works.
However, with ${workspaceFolder}, it doesn't parse the path properly when running VSCode on Windows but parses the path as *unix way

Works well:

  • "languageServerHaskell.useCustomHieWrapperPath": "${HOME}/hie.bat"
  • "languageServerHaskell.useCustomHieWrapperPath": "${HOME}\hie.bat"
  • "languageServerHaskell.useCustomHieWrapperPath": "A:\ABSOLUTEPATH\hie.bat"

Not works:

  • "languageServerHaskell.useCustomHieWrapperPath": "${workspaceFolder}/hie.bat"
    • Error message: Launching server using command /t:/WORKSPACEFOLDER/hie.bat failed.
  • "languageServerHaskell.useCustomHieWrapperPath": "${workspaceFolder}\hie.bat"
    • Error message: Launching server using command /t:/WORKSPACEFOLDER\hie.bat failed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions