zokugun / vscode-cron

MIT License
1 stars 2 forks source link

Syntax question for running a Task #1

Open jeremydavidson opened 3 months ago

jeremydavidson commented 3 months ago

This is more of a discussion question, not a bug: What is the syntax and or setup on the run configuration for running a vscode Task? I've tried using the label property of the Task and I've tried varieties of the workbench.action.tasks.runTask internal method, but nothing works. The plugin gives error "command not found".

daiyam commented 3 months ago

It calls vscode.commands.executeCommand(task.run);

You can find docs about the commands here: https://code.visualstudio.com/api/references/commands https://code.visualstudio.com/api/extension-guides/command