Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/miguelsolorio/vscode-extension-playground
https://github.com/miguelsolorio/vscode-extension-playground
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/miguelsolorio/vscode-extension-playground
- Owner: miguelsolorio
- Created: 2021-02-23T16:38:40.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-21T22:40:06.000Z (over 3 years ago)
- Last Synced: 2025-01-03T13:38:49.150Z (21 days ago)
- Language: TypeScript
- Size: 747 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hello World Sample
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.
## 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)### 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. This will:
- Start a task `npm: watch` to compile the code
- Run the extension in a new VS Code window