Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 2.32 KB

概述.md

File metadata and controls

34 lines (24 loc) · 2.32 KB
Order Area TOCTitle ContentId PageTitle DateApproved MetaDescription
1
extensionapi
Overview
C99AC3B3-47BC-41E3-8C7B-6F24364C20D1
Visual Studio Code Extensibility Reference
4/14/2016
Learn the details of Visual Studio Code's rich extensibility (plug-in) model. This documentation describes the various extension points, activation rules and specific feature APIs (e.g. working with documents and editors).

Extensibility Reference

This section of our documentation goes into detail on the various features of VS Code extensibility. It's worth reviewing the introduction on the extensions as well as going through the 'Hello World' example before digging in too deeply here.

The easiest way to see VS Code extensions in action is via the Extension Marketplace. Once you have built your first extension or are ready to share a customization, it can be published for others to install.

The Extensibility Reference Documents

This section of our documentation covers the following topics...

Topic Description
package.json Extension Manifest Every Visual Studio Code extension needs a manifest file package.json at the root of the extension folder. This document provides an overview of the structure of that file and the mandatory fields.
Contribution Points Building on the base project.json, there are a number of additional extension points you can contribute to e.g. commands, themes, debuggers,...
Activation Events VS Code lazily activates extensions. This document outlines the activation options supported in project.json e.g. when a specific file type is loaded, when a command is fired, etc
API vscode namespace Review the full vscode namespace API reference.
API complex commands See the VS Code complex command API reference.
API debugging Learn the details about integrating debuggers into VS Code.

Common Questions

Nothing yet