mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
22 lines
600 B
Markdown
22 lines
600 B
Markdown
# Task Provider Sample
|
|
|
|
This is the source code for the [Task Provider Guide](https://code.visualstudio.com/api/extension-guides/task-provider). It auto-detects tasks in [Rakefiles](https://ruby.github.io/rake/).
|
|
|
|
## VS Code API
|
|
|
|
### `vscode` module
|
|
|
|
- [`tasks`](https://code.visualstudio.com/api/references/vscode-api#_tasks)
|
|
|
|
### Contribution Points
|
|
|
|
- [`contributes.taskDefinitions`](https://code.visualstudio.com/api/references/contribution-points#contributes.taskDefinitions)
|
|
|
|
|
|
## Running the example
|
|
|
|
- Open this example in VS Code
|
|
- `npm install`
|
|
- `npm run compile`
|
|
- `F5` to start debugging
|