Closed sammasak closed 3 weeks ago
This would basically be an input that would return multiple values, which is a different type of thing than the existing promptString
.
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
This would basically be an input that would return multiple values, which is a different type of thing than the existing
promptString
.
Yes, Would be nice to have one input field that takes in any amount of args, (and then uses the previously ran args as default for the next run).
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
Support for Splitting Input String into Multiple Arguments in
launch.json
Description
Currently, VS Code's
launch.json
configuration does not natively support splitting a single input string into multiple arguments for theargs
array when launching a Python script. This limitation makes it difficult to pass multiple arguments to a script from a single input prompt.Steps to Reproduce
Create a
.vscode/launch.json
file with the following configuration:When running the above configuration, enter multiple arguments as a single string (e.g.,
command1 arg1
).Observe that the entire string is passed as a single argument rather than being split into individual arguments.
Expected Behavior
It would be beneficial if
launch.json
could natively support splitting a single input string into multiple arguments for theargs
array. For example, when enteringarg1 arg2 "arg with spaces" arg4
, the arguments should be passed asarg1
,arg2
,arg with spaces
, andarg4
to the script.Additionally it would be nice to have the default value be dynamic such that you could reuse the latest used args as the default value.