Files
vscode-extension-samples/webview-codicons-sample/README.md

19 lines
541 B
Markdown
Raw Permalink Normal View History

2020-08-06 13:48:32 -07:00
# Cat Codicons
2020-08-06 12:46:40 -07:00
2020-08-06 13:48:32 -07:00
Demonstrates loading [codicons](https://github.com/microsoft/vscode-codicons) in a [webview](https://code.visualstudio.com/api/extension-guides/webview).
2020-08-06 12:46:40 -07:00
## VS Code API
### `vscode` module
- [`window.createWebviewPanel`](https://code.visualstudio.com/api/references/vscode-api#window.createWebviewPanel)
## Running the example
2020-08-06 13:48:32 -07:00
- Open this example in VS Code 1.47+
2020-08-06 12:46:40 -07:00
- `npm install`
- `npm run watch` or `npm run compile`
- `F5` to start debugging
2020-08-06 13:48:32 -07:00
Run the `Cat Codicons: Show Cat Codicons` command to create the webview.