Open tomqwpl opened 1 year ago
Oh right the parser expects the flag to repeat --install-extension <id> --install-extension <id>
but duplicated keys are not possible in yaml. We should support splitting on commas for sure.
Although maybe just handling arrays in configFileArgv would be better. Comma split would be nice since then we could use it on the command line as well since the repeating flag syntax is a bit unwieldy.
Is there an existing issue for this?
OS/Web Information
code-server --version
: 4.10.1Steps to Reproduce
Attempting to run code-server with a config file such as:
This fails with (e.g):
The problem seems to be in the conversion of the config file into command line arguments:
My guess is that there "opt" is a []string, so it ends up constructing "--install-extension=extension.number1,extension.number2"
Expected
Both extensions should be installed in the same way as if multiple install-extension command line arguments were passed
Actual
code-server errors on startup.
Logs
No response
Screenshot/Video
No response
Does this issue happen in VS Code or GitHub Codespaces?
Are you accessing code-server over HTTPS?
Notes
No response