Skip to content

Support variable substitution in exePath#349

Open
0xemgy wants to merge 1 commit intocheshirekow:masterfrom
0xemgy:support-variable-substitution-in-exe-path
Open

Support variable substitution in exePath#349
0xemgy wants to merge 1 commit intocheshirekow:masterfrom
0xemgy:support-variable-substitution-in-exe-path

Conversation

@0xemgy
Copy link

@0xemgy 0xemgy commented Dec 18, 2024

Currently, the "exePath" in settings.json has to be an absolute path. No variable substitution is supported. Hence, settings like this do not work:

{
    "cmakeFormat.exePath": "${workspaceRoot}/tools/cmake_format/cmake-format.exe",
}

A function varSub is already provided but is currently only used for arguments. I added the substitution to the exePath.

@0xemgy 0xemgy changed the title Support variable substition in exePath Support variable substitution in exePath Dec 18, 2024
@brccabral
Copy link

this would be nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants