You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When debugging tests, having the quick picker open up repeatedly is annoying. I'd like to specify a default target that gets used when debugging tests.
I've implemented an MVP in Nerixyz@2fb1e85. You set cmake.ctest.testSuiteDelimiter.debugLaunchTarget to the target name (seems like that's the only decent identifier) and if the target exists, it will be used - otherwise the picker is shown. I noticed
// TODO: we can remember the last choice once the CMake side panel work is done
... but I don't know about the status of that, and this would require choosing the target once for every session. Does my MVP go in the right direction to open a PR? (the wording might be a bit confusing as CMake also has "targets", but that doesn't impact the functionality)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When debugging tests, having the quick picker open up repeatedly is annoying. I'd like to specify a default target that gets used when debugging tests.
I've implemented an MVP in Nerixyz@2fb1e85. You set
cmake.ctest.testSuiteDelimiter.debugLaunchTarget
to the target name (seems like that's the only decent identifier) and if the target exists, it will be used - otherwise the picker is shown. I noticedvscode-cmake-tools/src/ctest.ts
Line 933 in ed6d9ad
... but I don't know about the status of that, and this would require choosing the target once for every session. Does my MVP go in the right direction to open a PR? (the wording might be a bit confusing as CMake also has "targets", but that doesn't impact the functionality)
Beta Was this translation helpful? Give feedback.
All reactions