-
Notifications
You must be signed in to change notification settings - Fork 300
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
Allow overwriting the launch config used by Run/Debug CodeLens links #3311
Comments
With these changes, you can use "Run" or "Debug" as the title for a CodeLens template (or Here's an example that matches all templates (so will appear for {
"name": "env_foo2",
"request": "launch",
"type": "dart",
"codeLens": {
"for": [ // Match all templates
"run-test",
"run-test-file",
"run-file",
"debug-test",
"debug-test-file",
"debug-file",
],
"title": "${debugType}", // Sets the title to just "Run" or "Debug" depending on which template (above) it matched
},
"env": {
"DANNY": "foo2", // Custom settings can be args, env, etc.
}
}, |
awesome!!! |
There's a beta version with this change in if you'd like to test it out before release: https://github.com/Dart-Code/Dart-Code/releases/tag/v3.23.0-beta.1 If anyone doesn't work as expected, please let me know! |
😬 |
The text was updated successfully, but these errors were encountered: