2018-10-10 10:32:21 -07:00
2018-10-09 11:41:20 -07:00
2018-10-09 11:39:59 -07:00
2018-10-10 09:37:51 -07:00
2018-10-10 10:32:21 -07:00
2018-10-10 09:37:51 -07:00
2018-10-10 09:37:51 -07:00
2018-10-10 09:37:51 -07:00
2018-10-10 09:37:51 -07:00
2018-10-10 09:37:51 -07:00
2018-10-10 09:37:51 -07:00
2018-10-10 09:37:51 -07:00
2018-10-10 09:37:51 -07:00
2018-10-10 09:37:51 -07:00
2016-12-30 18:51:37 +01:00
2018-10-10 10:32:21 -07:00
2015-11-18 15:17:49 +01:00
2018-10-09 16:11:04 -07:00

VS Code Extension Samples

This repository contains sample code illustrating the VS Code extension API. Each sample is a self-contained extension that explains one topic in VS Code API or VS Code's Contribution Points. You can read, play with or adapt from these samples to create your own extensions.

Each sample is required to have:

  • A explanation of its functionality
  • A gif or screenshot demonstrating its usage
  • Link to a guide on VS Code website, if it has one
  • Listing of used VS Code API and Contribution Points

Samples

Sample Guide on VS Code Website API & Contribution
Virtual Documents /api/extension-guides/virtual-documents TextDocumentContentProvider
Editor Decoration /api/extension-guides/editor-decoration window.createTextEditorDecorationType
Status Bar /api/extension-guides/status-bar StatusBarItem
Color Theme /api/extension-guides/color-theme contributes.themes
File System Provider N/A vscode.workspace.registerFileSystemProvider

⚠️ Legacy Samples ⚠️

Legacy samples are at /legacy-samples. They are unlikely to receive any updates and might not work with the latest version of VS Code.

Sample Deprecated Reason
Preview HTML Webview API supersedes the old HTML Preview functionality
Description
No description provided
Readme MIT 119 MiB
Languages
TypeScript 79%
JavaScript 15.1%
Rust 3.4%
CSS 1.4%
Jupyter Notebook 0.8%
Other 0.2%