spmeesseman / vscode-taskexplorer

Run and Manage Tasks for Visual Studio Code
Other
141 stars 30 forks source link

The setting `taskExplorer.exclude` doesn't support variable reference #208

Open laplacedoge opened 8 months ago

laplacedoge commented 8 months ago

The following setting works for my VS Code:

"taskExplorer.exclude": [
    "**/.vscode-test/**",
    ...
    "**/work/**",
    "/absolute-path-to-my-project/src/Makefile"
]

But after changing it to this, an error message appears.

"taskExplorer.exclude": [
    "**/.vscode-test/**",
    ...
    "**/work/**",
    "${workspaceFolder}/src/Makefile"
]

The error message is:

Error running command taskExplorer.refresh: command failed with error code 2: error parsing glob '!/{**/node_modules/**,**/work/**,**/.vscode-test/**,**/Assets/**,**/bin/**,**/build/**,**/dist/**,**/doc/**,**/example/**,**/examples/**,**/ext/**,**/obj/**,**/out/**,**/output/**,**/packages/**,**/release/**,**/releases/**,**/samples/**,**/sdks/**,**/static/**,**/target/**,**/test/**,**/third_party/**,**/vendor/**,**/work/**,${workspaceFolder}/src/Makefile}': nested alternate groups are not allowed
. This is likely caused by the extension that contributes taskExplorer.refresh.

Extension Version: v2.13.2 VS Code Version: 1.86.2 (system setup) Host OS: Windows 11 Pro 23H2 Remote Server OS: Ubuntu 22.04.3 LTS