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
run_last() is fantastic, however, I find myself switching over a couple of targets while debugging.
Would it be possible to add something similar to run_last() but picking from a history of recently run commands? run_recent, run_from_history... naming is hard.
I know there is the option to use .vscode/launch.json for long-term persistent targets.
Possible Solutions
run_recent() will allow to select from a list of recently run targets.
Considered Alternatives
I can write down my targets in .vscode/launch.json for long-term, but something lasting just for my current-session without extra config is very appealing
The text was updated successfully, but these errors were encountered:
I'm a bit mixed on this as it seems a bit of a niche case to temporarily jump between a couple of targets but open for more feedback on this.
Note that this could be built outside with the same approach you use to have run_last re-use already evaluated configs (#1025 (comment))
Potential options:
Don't include
Include via run_last({ pick_history = true }) or something like that
Could also address the other issue and additionally have a reevaluate = false and store both resolve and unresolved configs
Could make it easier to write down the targets in .vscode/launch.json by populating the c (for config) register with the active or last session's config in JSON format.
Others?
What I'd definitely like to avoid is having lots of config options for this. So if it gets added it would need a fixed size (5-10?) and a fixed retention policy (frecency?) and any further customization would defer to re-implement it using the listener approach
Problem Statement
run_last()
is fantastic, however, I find myself switching over a couple of targets while debugging.Would it be possible to add something similar to
run_last()
but picking from a history of recently run commands? run_recent, run_from_history... naming is hard.I know there is the option to use .vscode/launch.json for long-term persistent targets.
Possible Solutions
run_recent() will allow to select from a list of recently run targets.
Considered Alternatives
I can write down my targets in .vscode/launch.json for long-term, but something lasting just for my current-session without extra config is very appealing
The text was updated successfully, but these errors were encountered: