Skip to content

Feature Request : evaluate variable in executablePath configuration #72

Description

@pinage404

Context

Set executablePath configuration with string that use variable

* "prolog.executablePath": "/usr/bin/swipl"

{
    "prolog.executablePath": "${workspaceFolder}/.devbox/nix/profile/default/bin/swipl",
    // also tried with the same result
    // "prolog.executablePath": "${env:DEVBOX_PACKAGES_DIR}/bin/swipl",
    // "prolog.executablePath": ".devbox/nix/profile/default/bin/swipl",
}

Current behavior

Cannot lint the prolog file. The Prolog executable was not found. Use the 'prolog.executablePath' setting to configure

Expected behavior

Evaluate variable like VSCode does

https://code.visualstudio.com/docs/editor/variables-reference

Workaround solutions

Settings the path with an absolute path which is not great to share the file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions