microsoft/vscode-extension-samples

Sample code illustrating the VS Code extension API.

Owned by Microsoft

View on GitHub ↗Jump to charts ↓Open shareable report →

microsoft/vscode-extension-samples has 10k+ stars and 3.5k+ forks on GitHub, is written in TypeScript, and was last pushed on Sep 5, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 1 hour ago
Added to GitGenius on September 6th, 2026
Created on November 5th, 2015
Open Issues & Pull Requests: 77 (+0)
GitHub issues: Enabled
Number of forks: 3,892
Total Stargazers: 10,191 (+0)
Total Subscribers: 213 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 0.0 hours
Mean response time: 25.7 days
90th percentile: 39.0 days
Tracked items: 107

Maintainer activity

19 people did triage or write work on this repository in the last 12 months.

Counts unlabeled, assigned, unassigned, milestoned, demilestoned, locked, unlocked over the last 12 months. These are issue and pull request events that require triage or write permission. Commits and code review are not counted. labeled and renamed are excluded because GitHub issue forms record the issue author as the actor. Figures from October 11, 2026. This count is not comparable across projects: each project's automation decides which of these events a person emits. How this is counted.

How this project is maintained

100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "triage-needed" is answered fastest, typically in under an hour, while "feature-request" waits about 2 weeks.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 30
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 1,188 days
Stale 30+ days: 29
Stale 90+ days: 28

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 3

Top labels

  • triage-needed (42)
  • info-needed (14)
  • bug (13)
  • feature-request (10)
  • *question (5)
  • *duplicate (2)
  • *out-of-scope (2)
  • enhancement (2)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

VS Code Extension Samples is a collection of sample code illustrating the VS Code extension API.

The repository addresses the challenge of learning how to build VS Code extensions by providing self-contained, focused examples that each demonstrate a single topic within the VS Code API or contribution points. Each sample includes an explanation of its functionality, visual demonstrations, links to relevant guides, and a listing of the specific API methods and contribution points it uses. Developers can read, modify, or adapt these samples as starting points for their own extensions.

The samples are written in TypeScript with consistent style enforced through ESLint, and they follow a standard setup pattern: clone the repository, open a sample folder in VS Code, run npm install, and press F5 to execute. The collection includes foundational examples such as Hello World samples in different variants—a standard TypeScript version, a minimal JavaScript version, a version with integration tests, and a web extension version—along with additional samples covering other API topics. This repository is most useful for developers new to VS Code extension development who want concrete, working examples before diving into the full API documentation, or for those seeking to understand how specific API features are implemented in practice.

The project maintains a steady stream of sample additions and updates, with samples consistently demonstrating current API patterns and best practices. Code quality is actively managed through linting standards applied across all examples. Documentation within each sample is kept current with corresponding guides on the VS Code website, ensuring that examples remain aligned with official extension development practices.