A relative pattern is a helper to construct glob patterns that are matched relatively to a base URI. The common value for a baseUri is a workspace folder root, but it can be another absolute URI as well.

Available since

3.17.0

.

Fields

pattern:Pattern

The actual glob pattern;

baseUri:EitherType<WorkspaceFolder, URI>

A workspace folder or a base URI to which this pattern will be matched against relatively.