Skip to content

workspaceFolder in a multi-root workspace #79

@dyitzchaki-roku

Description

@dyitzchaki-roku

The value of ${workspaceFolder} is expanded differently by the extension than how VSCode expands it.
Outside the extension,

It doesn't return the workspace folder the currently active file is in. It returns the workspace folder in which the task is defined
microsoft/vscode#54596 (comment)

Personally I find the way VSCode expands it is more useful.
IMO it can also be used for resolving nested ${input} variables

The fact that I do not support the ${input} variable is that I don't know which .json is the source of the command (task, launch, keybindings).
#45 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions