Код IT
← Каталог

Создание и публикация расширения для Visual Studio Code — Подготовка к публикации

Фрагмент из «Создание и публикация расширения для Visual Studio Code»: Подготовка к публикации.

JSON main.json
{
  "name": "helloworld",
  "displayName": "Hello World Sample",
  "description": "A simple Hello World extension for VS Code",
  "version": "0.0.1",
  "publisher": "your-publisher-id",
  "engines": {
    "vscode": "^1.85.0"
  },
  "categories": ["Other"],
  "icon": "images/icon.png",
  "galleryBanner": {
    "color": "#C80000",
    "theme": "dark"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/yourname/helloworld.git"
  },
  "license": "MIT"
}
{
  "name": "helloworld",
  "displayName": "Hello World Sample",
  "description": "A simple Hello World extension for VS Code",
  "version": "0.0.1",
  "publisher": "your-publisher-id",
  "engines": {
    "vscode": "^1.85.0"
  },
  "categories": ["Other"],
  "icon": "images/icon.png",
  "galleryBanner": {
    "color": "#C80000",
    "theme": "dark"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/yourname/helloworld.git"
  },
  "license": "MIT"
}