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
Run
panel.
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.md
contains an up to date description, FAQs, screenshots, etc. - Ensure
.vscodeignore
is 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 -x
command from Git Extras is handy for this.
- The
- Ensure you're on the
develop
branch and all the changes for this release have been merged in. - Bump the version number:
npm version patch
for a patch release (1.2.3 => 1.2.4)npm version minor
for a minor release (1.2.3 => 1.3.0)npm version major
for a major release (1.2.3 => 2.0.0)
git push origin develop
git checkout trunk
git merge develop
git push origin trunk
git 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