Files
vscode-extension-samples/webview-sample/README.md
2018-04-24 15:11:50 -07:00

21 lines
640 B
Markdown

# Cat Coding — A Webview API Sample
Demonstrates VS Code's [webview API](https://code.visualstudio.com/docs/extensions/webview). This includes:
- Creating and showing a basic webview.
- Dynamically updating a webview's content.
- Loading local content in a webview.
- Running scripts in a webview.
- Sending message from an extension to a webview.
- Sending messages from a webview to an extension.
- Webview life cycle and handling dipose.
## Running the example
- Open this example in VS Code 1.23+
- `npm install`
- `npm run compile`
- `F5` to start debugging
Run the `Cat Coding: Start cat coding session` to create the webview.