Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 1.4 KB

CONTRIBUTING.md

File metadata and controls

57 lines (37 loc) · 1.4 KB

Contributing

Please begin by reading Extension API and Debugger. The the official vscode document will provide you with all the information you need to get started.

Getting started

To run extension, follow these steps.

  1. Ensure that Node.js >= 20 and Visual Studio Code Insiders is installed. This provides the platform on which the build tooling runs.

  2. Follow the steps below to start the extension in the:

    # Clone the repo
    $ git clone git@github.com:unit-mesh/auto-dev-vscode.git
    
    # Open in vscode-insiders
    $ code-insiders auto-dev-vscode
  3. Installing Extension Dependencies

    # vsce currently only supports npm
    	# see https://github.com/microsoft/vscode-vsce/issues/517
    	# see https://github.com/microsoft/vscode-vsce/issues/421
    $ npm install
  4. Now you can start it with Run and Debug.

Running The Tests

You can now run the tests with this command:

$ npm test

Better run lint and package:

$ npm run lint

$ npm run pa

Staying Up-to-Date

$ git remote add upstream git@github.com:unit-mesh/auto-dev-vscode.git

$ git fetch upstream

$ git checkout master

$ git merge upstream/master