Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>pankajk07-calico-colorsNew to Visual Studio Code? Get it now.
pankajk07-calico-colors

pankajk07-calico-colors

Pankaj Khandelwal

|
68 installs
| (1) | Free
Calico Colors - A Webview View API Sample
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Calico Colors — Webview View API Sample

Demonstrates VS Code's proposed webview view API. This includes:

  • Contributing a webview based view to the explorer.
  • Posting messages from an extension to a webview view
  • Posting message from a webview to an extension
  • Persisting state in the view.
  • Contributing commands to the view title.

VS Code API

vscode module

  • window.registerWebviewViewProvider

Running the example

  • Open this example in VS Code 1.49+
  • npm install
  • npm run watch or npm run compile
  • F5 to start debugging

In the explorer, expand the Calico Colors view.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft