vscode-extension-samples

演示VS Code扩展API的示例代码。Sample code illustrating the VS Code extension API.

  • Owner: microsoft/vscode-extension-samples
  • Platform: Linux, Mac, Windows
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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.

You can expect from each sample:

  • An 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
  • Code of the same style, enforced using TSLint

Prerequisites

You need to have node and npm installed on your system to run the examples. It is recommended to use the node version used for VS Code development itself which is documented here

Usage

  • git clone https://github.com/Microsoft/vscode-extension-samples
  • code <any-sample-folder>
  • npm install in the terminal, then F5 to run the sample
  • Alternatively, follow the instructions in each sample's README for setting up and running the sample

Getting Started

Samples

Language Protocol Server Samples

License

Copyright (c) Microsoft Corporation. All rights reserved.

Licensed under the MIT License.

Main metrics

Overview
Name With Ownermicrosoft/vscode-extension-samples
Primary LanguageTypeScript
Program languageTypeScript (Language Count: 8)
PlatformLinux, Mac, Windows
License:MIT License
所有者活动
Created At2015-11-05 10:14:11
Pushed At2025-05-06 21:43:23
Last Commit At
Release Count0
用户参与
Stargazers Count9.3k
Watchers Count185
Fork Count3.6k
Commits Count1.8k
Has Issues Enabled
Issues Count554
Issue Open Count69
Pull Requests Count406
Pull Requests Open Count16
Pull Requests Close Count119
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private