Task Provider Feature#5659
Conversation
sean-mcmanus
left a comment
There was a problem hiding this comment.
I'm not finished reviewing...
|
I'm seeing an issue when there are spaces in the ${file} path. I'm not able to get mingw or cl.exe to work. When the workspace folder is named "New folder", I get |
|
Build errors are not reported: I think we would need to implement our own problem matcher to report the errors and/or forward the results to the terminal? |
|
Also, I'm seeing unusual tab and newline behavior in the terminal output with cl.exe. This is the 0.28.3 result: test2.c |
| "preview": true, | ||
| "icon": "LanguageCCPP_color_128x.png", | ||
| "readme": "README.md", | ||
| "enableProposedApi": true, |
| "c_cpp.taskDefinitions.command.description": "The path to either a compiler or script that performs compilation.", | ||
| "c_cpp.taskDefinitions.args.description": "Additional arguments to pass to the compiler or compilation script.", | ||
| "c_cpp.taskDefinitions.options.description": "Additional command options.", | ||
| "c_cpp.taskDefinitions.name.description": "The name of the task", |
There was a problem hiding this comment.
Should these periods have remained?



#3674 : Add support to run cpp build tasks (Tasks: Run Build Task)
Will also fix these bugs:
#4278
#5285
#4278
#5270
Edited:
Refactoring the Task tools: Task: Configure Task and Task: Run Build Task, and C/C++: Build and Debug Active File
The multi-root is not implemented in this version yet.
You have to use the insider Vs Code to test the proposed API for this feature (1.49.0-insider).
These are the behavior of the current version:
when Task: Run Build Task is called:
P.S. right now only Task: Configure Task and C/C++: Build and Debug Active File can create a tasks.json file for the first time.