Code contributions, bug reports, and feedback are very welcome. These should be submitted through the GitHub repository.
You can clone this repo and then run the extension in development mode in VS Code.
-
Install the Node dependencies:
npm install -
Open the directory in VS Code and launch the extension from the
Runpanel.
The extension source code can be found in src/extension.ts.
These are the steps to take to release a new version of the extension (for contributors who have push access to the GitHub repo).
- Check the milestone on GitHub for open issues or PRs. Fix or reassign as necessary.
- Ensure
readme.mdcontains an up to date description, FAQs, screenshots, etc. - Ensure
.vscodeignoreis up to date with all files that shouldn't be part of the build. - Prepare a changelog for the Releases page on GitHub.
- The
git changelog -xcommand from Git Extras is handy for this.
- The
- Ensure you're on the
developbranch and all the changes for this release have been merged in. - Bump the version number:
npm version patchfor a patch release (1.2.3 => 1.2.4)npm version minorfor a minor release (1.2.3 => 1.3.0)npm version majorfor a major release (1.2.3 => 2.0.0)
git push origin developgit checkout trunkgit merge developgit push origin trunkgit push origin trunk:master(VS Marketplace uses images from the master branch)git push origin --tags- Enter the changelog into the release on GitHub and publish it.
Publishing a release on GitHub triggers an action which deploys the release to the VS Marketplace. No need to touch vsce.
If necessary, manual deployment to the VS Marketplace can be done with:
npm run deploy