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

28 lines
862 B
Markdown
Raw Normal View History

2018-12-12 15:51:03 -08:00
# Hello World Sample
2018-10-10 10:32:21 -07:00
This is a Hello World example that shows you how to use VS Code API.
Guide for this sample: https://code.visualstudio.com/api/get-started/your-first-extension.
2018-10-10 10:32:21 -07:00
## Demo
![demo](demo.gif)
## VS Code API
### `vscode` module
- [`commands.registerCommand`](https://code.visualstudio.com/api/references/vscode-api#commands.registerCommand)
- [`window.showInformationMessage`](https://code.visualstudio.com/api/references/vscode-api#window.showInformationMessage)
2018-10-10 10:32:21 -07:00
### Contribution Points
2018-12-21 10:06:05 -08:00
- [`contributes.commands`](https://code.visualstudio.com/api/references/contribution-points#contributes.commands)
2018-10-10 10:32:21 -07:00
## Running the Sample
- Run `npm install` in terminal to install dependencies
- Run the `Run Extension` target in the Debug View. This will:
- Start a task `npm: watch` to compile the code
- Run the extension in a new VS Code window