vscode-cmake-tools icon indicating copy to clipboard operation
vscode-cmake-tools copied to clipboard

Is it possible to configure launch.js for calling cmake.build command as preLaunchTask?

Open magpier84 opened this issue 10 years ago • 2 comments

magpier84 avatar May 24 '16 14:05 magpier84

Unfortunately, I don't believe you can. This would be a limitation of launch.json. You should be able to specify the name of a task from tasks.json, but even those are limited to only invoking external processes rather than VSCode commands. I would much prefer being able to invoke VSCode commands in task.json, that would enable greater integration with how VSCode handles running tasks.

vector-of-bool avatar May 24 '16 17:05 vector-of-bool

Thanks for reply. Strange limitation from VSCode :(

magpier84 avatar May 24 '16 19:05 magpier84