Files
vscode-extension-samples/progress-sample/README.md

22 lines
815 B
Markdown
Raw Permalink Normal View History

2018-03-27 11:03:01 +02:00
# Progress Sample
This is a sample extension that shows a running progress in the notification area with support for cancellation.
It is not intended as a product quality extension.
- Open the command palette
- Run "Show Progress"
- Observe the running task in the notification area
2021-02-22 09:58:22 -08:00
![Show progress in notification area](https://raw.githubusercontent.com/Microsoft/vscode-extension-samples/main/progress-sample/preview.gif)
2018-03-27 11:03:01 +02:00
# How it works, what it shows?
- The extension uses the [`withProgress`](https://code.visualstudio.com/api/references/vscode-api#ProgressOptions) API to show the task in the notification area.
2018-03-27 11:03:01 +02:00
- Registers a command via `package.json` that will trigger the task
# How to run locally
* `npm run compile` to start the compiler in watch mode
2021-02-22 09:58:22 -08:00
* open this folder in VS Code and press `F5`