-
Notifications
You must be signed in to change notification settings - Fork 26
Accept additional parameter argsString
for arguments in string format
#138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This will break the integrated/external terminal, since the vscode api used for those requires array of args. See RunInTerminalRequest + RunInTerminalRequestArguments. Having said that, I would also prefer to pass full args as one string, but it will be possible only when mentioned api methods allow to specify to use bash explicitly + provide command as single string. |
So how about transforming the commandline string into an array? |
Well, this requires handling of arg quoting, which proves to be hard and should not be part of extension. Args are sometimes more complex values. |
commandline
for arguments in stringargsString
for arguments in string format
@rogalmic do you mind taking a look at microsoft/vscode#97655 and cast your vote if you agree? |
VS Code does not support passing arguments to
args
in a string instead of an array of string. See microsoft/vscode#83678.However, due to that, is impossible for users to use "prompt for arguments" when launching a debug session.
VS Code team suggest the extension owners to provide an additional parameter for debbuging configuration. See microsoft/vscode#83678 (comment)
It would look like then:
And then, we would be able to do something like:
The text was updated successfully, but these errors were encountered: