Skip to content

Latest commit

 

History

History
70 lines (53 loc) · 1.49 KB

README.md

File metadata and controls

70 lines (53 loc) · 1.49 KB

Vscode Plugin

Publish a vscode extension.

Installation

This plugin is not included with the auto CLI installed via NPM. To install:

npm i --save-dev @auto-it/vscode
# or
yarn add -D @auto-it/vscode

Usage

{
  "plugins": [
    "vscode"
    // other plugins
  ]
}

Setup

  1. Create an organization for your extension
  2. Create a personal access token and store the token in your .env file as VSCE_TOKEN and add the same variable to your CI
  3. Create a publisher for your extension and set the publisher in your package.json

That's it!

Learn more about creating a great looking extension.

Options

baseContentUrl

Prepend all relative links in README.md with this url.

{
  "plugins": [
    [
      "vscode",
      { "baseContentUrl": "https://github.com/my-username/my-repo/tree/main" }
    ]
    // other plugins
  ]
}

baseImagesUrl

Prepend all relative image links in README.md with this url.

{
  "plugins": [
    // other plugins
    [
      "vscode",
      {
        "baseContentUrl": "https://raw.githubusercontent.com/my-username/my-repo/main/"
      }
    ]
  ]
}