Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 1.25 KB

CONTRIBUTING.md

File metadata and controls

58 lines (37 loc) · 1.25 KB

Contributing

Getting started

Install dependencies with:

npm install

Start the compiler watch task:

node --run watch
  • Inside VS Code press F5 to open a new window with the extension loaded.
  • Set breakpoints in your code to debug the extension.
  • Find output from the extension in the debug console.

Make changes

  • You can relaunch the extension from the debug toolbar after changing code.
  • You can also reload (Ctrl + R or Cmd + R on Mac) the Extension Development Host VS Code window to load your changes.

Explore the VS Code API

You can see the full set of the VS code API when you open the file node_modules/@types/vscode/index.d.ts.

Check code

The following command runs linting, type and format checking:

node --run check

Format all code with:

node --run format

Create a release

Bump the package version and generate a changelog:

npm version [major|minor|patch]

See npm version docs for all available arguments.

Publish the new version with vsce:

npx @vscode/vsce@latest publish