Skip to content

ignore workspaceFolder error #78

@dvirtz

Description

@dvirtz

I have several multi-root projects that have one shared folder and one folder which is unique to each project, so

project-1:               project-2:               project-3:
|- folder a              |- folder a              |- folder a
|- folder b.1            |- folder b.2            |- folder b.3

etc.
I want to have a task in the shared folder that gets the name of the unique folder so I apply a JavaScript expression that returns the first valid of ${workspaceFolder:b.1}, ${workspaceFolder:b.2}, ${workspaceFolder:b.3}, etc.
This works but there's annoying Workspace not found with name notifications popping up.

Can you add an option to ignore those errors or can you think of a better way to achieve this?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions