Steps to Reproduce:
If this is the defined behavior of default then maybe we need another field initialDefault or something like that that provides a default when there is no stored value.
Perhaps I'm spoiled by using picker UI for debug launch configs. Those remember state even between VSCode invocations IIRC.
Does this issue occur when all extensions are disabled?: Yes
+1 for this -- the input variables for tasks are fantastic but it would be huge if it could just remember my last selection
I would vote for a boolean field rememberValue, since this behavior is also needed, when no default is specified.
In my case, I have a build or run-task which get's the project name as a parameter. When I am working on a specific project, I usually need to build / run it several times. In this case, it would be cool, if the last entered value is used as a default.
In my opinion this value could be cleared on exit, similar to the ${string_prompt} in Eclipse Launch Configurations
It would be nicer to have this built into VS Code, but since it's not yet, I wrote an extension that I think does what you want: https://marketplace.visualstudio.com/items?itemName=spadin.memento-inputs
duplicate of https://github.com/microsoft/vscode/issues/65066
Most helpful comment
+1 for this -- the input variables for tasks are fantastic but it would be huge if it could just remember my last selection