microsoft/vscode-extension-samples

Sample code illustrating the VS Code extension API.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 51 minutes ago
Added to GitGenius on September 6th, 2026
Created on November 5th, 2015
Open Issues & Pull Requests: 74 (+0)
GitHub issues: Enabled
Number of forks: 3,897
Total Stargazers: 10,173 (+0)
Total Subscribers: 213 (+0)

Repository Insights (GitGenius)

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

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 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. Only 6% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

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

Recent activity

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

Top labels

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

Most active issues this week

No issue events were indexed in the last 7 days.

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.