Skip to content

Files

Latest commit

b3ebbd8 · May 11, 2023

History

History
This branch is 3 commits behind microsoft/vscode-webview-ui-toolkit-samples:main.

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jan 20, 2023
May 11, 2023
Jan 20, 2023
Jan 20, 2023
Jan 20, 2023
Jan 29, 2022
Jan 20, 2023
May 11, 2023
May 9, 2023
May 11, 2023
May 11, 2023
Jan 20, 2023

Notepad Sample Extension

This sample extension showcases the toolkit in the context of a simple notepad experience that leverages the TreeView API and Webview API.

A screenshot of the sample extension.

Run The Sample

# Copy sample extension locally
npx degit microsoft/vscode-webview-ui-toolkit-samples/default/notepad notepad

# Navigate into sample directory
cd notepad

# Install sample dependencies
npm install

# Open sample in VS Code
code .

Once the sample is open inside VS Code you can run the extension by doing the following:

  1. Press F5 to open a new Extension Development Host window
  2. Click on the notebook icon in the VS Code activity bar