mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
21 lines
759 B
Markdown
21 lines
759 B
Markdown
# Hello World Minimal Sample
|
|
|
|
This is a minimal version of the [Hello World Sample](../helloworld-sample).
|
|
|
|
It does not use TypeScript and only includes the `vscode` devDependency needed for extension development.
|
|
|
|
## 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)
|
|
|
|
### Contribution Points
|
|
|
|
- [`contributes.commands`](https://code.visualstudio.com/api/references/contribution-points#contributes.commands)
|
|
|
|
## Running the Sample
|
|
|
|
- Run `npm install` in terminal to install dependencies
|
|
- Run the `Run Extension` target in the Debug View. |