Table of Contents

Develop VS Code extension

Introduce how to develop an extension for VS Code.

Overview

This page only records some of the key steps and commands. If you want to learn more details, please refer to your-first-extension to get started.

Preparation

  1. Install Node.js , git and npm.
  2. Then install yeoman and Vs Code generator code with npm command.

Below are the installation steps in Linux.

sudo apt install nodejs
sudo apt install git
sudo apt install npm
sudo npm install -g yo generator-code

Development And Test

I have found a way to develop extensions using Python. However, it was archived because the author did not have time to maintain it. Please refer to vscode-ext.

Generate Extension

Extension Management

Example