Skip to content

[feature request] provide some command variables help select current target #236

Open
@sinsong

Description

vscode document command variables used by cmake tools documented here. A mechanics and use case help utilize launch.json.

It would be something like ${command:mesonbuild.currentTarget} and ${command:mesonbuild.currentProjectDir} used in program and cwd:

{
    "program": "${command:mesonbuild.currentTarget}",
    "cwd": "${command:mesonbuild.currentProjectDir}",
}

or something more reasonable.

BTW, I don't known why dynamic provided configure grouped in name undefined and none of those work, let vscode say Configured debug type lldb is not supported.

图片

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions