Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 1.42 KB

development.md

File metadata and controls

48 lines (30 loc) · 1.42 KB

Developing for tremor-vscode

Make sure you have node.js installed. Then run (from the repo root):

npm install

You can symlink the repo to ~/.vscode/extensions/, for picking up the extension changes in the repo.

To compile edited typescript files to javascript, run: npm run compile from the repository root.

If you are using VS Code itself for editing the extension files, you can skip the above and just press F5 to debug the extension: this will run npm watch task in the background to compile the code, and launch the extension in a new VS Code window.

Helpful links:

The trace configuration options can be used to see communication between the VS code and the language server.

Packaging

For distributing the extension outside of the marketplace (or for local testing), you can package it as below:

npm install -g vsce
npm install
vsce package

To install the package:

code --install-extension tremor-<version>.vsix

To uninstall the package:

code --uninstall-extension tremor-<version>.vsix

Publishing

For publishing a version of the extension to the vscode marketplace, read the publishing guide