Skip to content

[Feature] Support ${workspaceFolder} / relative paths in cmake.exclude for multi-root workspaces #4629

@bezmozachen

Description

@bezmozachen

Request Overview

cmake.exclude in CMake Tools (v1.22.20) only accepts absolute paths.
Variable paths such as ${workspaceFolder} / ${workspaceFolder:Name} and relative paths are not resolved, so excluded folders are still treated as CMake projects.

This prevents using cmake.exclude in shared or portable workspaces.

Request:
Add support for ${workspaceFolder} and relative paths in cmake.exclude.

Reference: PR #4440.

Additional Information

No response

Metadata

Metadata

Labels

enhancementan enhancement to the product that is either not present or an improvement to an existing feature

Type

No type

Projects

Status

Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions