# microsoft/vscode-extension-samples

Sample code illustrating the VS Code extension API.

Repository: https://github.com/microsoft/vscode-extension-samples
Canonical: https://ross.abutalabs.com/products/vscode-extension-samples
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-06-02T20:35:54+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 85, release rhythm 35, longevity 100
- inputs: {"age_days": 3954, "days_push": 92, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 10148, forks 3899 (observed 2026-08-28T04:10:39.687117+00:00)

## What it is
A collection of self-contained sample extensions from Microsoft illustrating the VS Code extension API and contribution points. Each sample demonstrates one topic with explanations, screenshots, and links to official guides.

## Use cases
- learn how to write a vs code extension
- find example code for vscode webview api
- understand vscode contribution points
- get started building editor plugins for visual studio code
- see how to test a vscode extension
- adapt a sample extension as a starting template

## When to choose
- you are developing a VS Code extension and want reference implementations of specific APIs
- you want up-to-date, Microsoft-maintained examples with links to official docs
- you need a minimal starting point like a Hello World extension

## When to avoid
- you need a production-ready extension rather than educational samples
- you are building extensions for other editors like Neovim or JetBrains
- you want a single unified library instead of many separate sample projects

## Facets
- artifact type: learning-resource
- maturity: active
- function: developer-tools, plugin-system, documentation, editor
- domain: developer-tools, text-editors, tutorials, documentation
- platform: editor-plugin, cross-platform
- tags: vscode, extension-api, samples, typescript, editor-extensions, nodejs

## Member repositories
- microsoft/vscode-extension-samples (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:39.687117+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:19:41.230314+00:00, confidence not recorded.
  - readme: https://github.com/microsoft/vscode-extension-samples (fetched 2026-08-28T04:10:39.687117+00:00, sha 494244c3226d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
