mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
22 lines
946 B
Markdown
22 lines
946 B
Markdown
# QuickInput Sample
|
|
|
|
NOTE: This extension is using API in 'proposed' stage in VS Code 1.25. Please provide feedback in issue [#49340](https://github.com/Microsoft/vscode/issues/49340).
|
|
|
|
This is a sample extension that shows the QuickInput UI and usage of the QuickInput API.
|
|
|
|
It is not intended as a production quality extension.
|
|
|
|
- Open the command palette
|
|
- Run "Quick Input Samples"
|
|
- Pick one of the samples and see it run
|
|
|
|

|
|
|
|
# How it works, what it shows?
|
|
|
|
- The extension uses the [`QuickPick`](https://code.visualstudio.com/api/references/vscode-api#QuickPick) and [`InputBox`](https://code.visualstudio.com/api/references/vscode-api#InputBox) API to show a UI for user input.
|
|
- Registers a command via `package.json` that will trigger the task
|
|
|
|
# How to run locally
|
|
|
|
* open this folder in VS Code and press `F5` |