Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sinsong opened this issue May 29, 2024 · 1 comment

Comments

@sinsong
Copy link

sinsong commented May 29, 2024

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.

图片

@tristan957
Copy link
Contributor

Thanks for logging the feature request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants