Skip to content
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

Update cppbuild task behavior for args and command fields to match VS Code's shell task type #12026

Merged
merged 8 commits into from
Feb 27, 2024

Conversation

Colengms
Copy link
Contributor

@Colengms Colengms commented Feb 27, 2024

Addresses: #12001

Reworks handling of the args and command field to exactly match the behavior documented for VS Code shell tasks, as documented here: https://code.visualstudio.com/docs/editor/tasks

A major portion of this was copied directly from VS Code: https://github.com/microsoft/vscode/blob/main/src/vs/workbench/contrib/tasks/browser/terminalTaskSystem.ts

This replicates variable bugs and incomplete functionality in VS Code, such as escape quoting on Windows/cmd, which it does not appear to attempt. I believe we'll want to redirect any usability issues that repro with shell tasks, directly to VS Code, and maintain our support as identical to theirs.

@Colengms Colengms changed the title Update cppbuild task behavior for 'args' and 'command' fields to match VS Code's shell task type Update cppbuild task behavior for args and command fields to match VS Code's shell task type Feb 27, 2024
@bobbrow bobbrow added this to the 1.19.5 milestone Feb 27, 2024
@Colengms Colengms merged commit 69338b8 into main Feb 27, 2024
4 checks passed
@Colengms Colengms deleted the coleng/use_vscode_arg_logic branch February 27, 2024 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update 1.19.4 breaks wildcard operator '*' in tasks.json code will not compile
3 participants