feat: support shell command without args
Description
Extends the integrated terminal command execution to support receiving undefined args parameter.
This is to support the new run_shell_command tool being added in DAP, which will send through a command that is a prebuild command + args (+ pipes + whatever) which should be executed in 'shell' mode.
When the LS sends an undefined args, VSC should assume that command is this prebuilt shell command. Otherwise if it receives args, (even an EMPTY args) it should assume command / args are separate parameters to be executed.
The vscode extension API is the same for both so not much actually changes.
Related Issues
Resolves #2181 (closed)
How has this been tested?
Can be verified with feat: support `run_shell_command` action (gitlab-org/editor-extensions/gitlab-lsp!2634 - merged)
-
If src/browserorsrc/commonhas been modified, please consider interoperability with the Web IDE. See Running the Extension in WebIDE. -
Consider an end-to-end test for significant new features that aren't covered by integration tests.
Screenshots (if appropriate)
What CHANGELOG entry will this MR create?
-
fix:Bug fix fixes - a user-facing issue in production - included in changelog -
feature:New feature - a user-facing change which adds functionality - included in changelog -
BREAKING CHANGE:(fix or feature that would cause existing functionality to change) - should bump major version, mentioned in the changelog -
None - other non-user-facing changes
Closes #2181 (closed)