vscode-meson icon indicating copy to clipboard operation
vscode-meson copied to clipboard

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

Open sinsong opened this issue 1 year ago • 1 comments

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.

图片

sinsong avatar May 29 '24 19:05 sinsong

Thanks for logging the feature request.

tristan957 avatar Jun 03 '24 18:06 tristan957