Allow args to be defined from "user input" by using command.extention
See original GitHub issueFrom @mike-pt on January 30, 2017 23:14
While discussing the ability to get user input to define program or args (see vscode#9544 ) I noticed I could do this with the python debugger for “args”.
Since args
expects an array not a strings this is at the moment impossible, however if args would be changed to string and (as suggested in the GHI) the Pyhton Debbuger impletments its own ${command.extension.python-debug.getCommandline}
we could easy promt the “user” for args, this would be very handy when testing an appp for a bunch of different scenarios that change according to those args.
Please consider this as a FR
Copied from original issue: DonJayamanne/pythonVSCode#684
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Invoking a user defined input in tasks from extension
Make the args property an array of strings. This works for the built-in inputTypes. if your input type is a command, the command...
Read more >Commands | Visual Studio Code Extension API
A guide to using commands programmatically in Visual Studio Code ... URI and a position as arguments, and returns a promise with a...
Read more >Python Command Line Arguments
Arguments represent the source or destination to be processed. Subcommands allow a program to define more than one command with the respective set...
Read more >Parameters / Arguments - Windows CMD - SS64.com
The FOR command creates parameter variables which are identified with a letter rather than a number (e.g. %%G). The Parameter Expansions described above...
Read more >Commands - discord.py
This allows our user to accept either one or many arguments as they please. This works similar to positional arguments, so multi-word parameters...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We are planning to solve this by helping users to attach to a running Python process, so you can start Python how you want and then post-launch attach to it (#1182 ).
From @mike-pt on June 5, 2017 18:48
Any idea if this is still going to land soon?