[Under-development]
VS Code extension that creates a git branch from a Linear issue you're currently assigned for in the latest cycle.
Once installed, just go to the command menu with:
Cmd + Shift + P
And type "Linear". You'll see a command called "Linear: Create branch" appear.
This extension uses our VS Code Linear API authentication provider that is exposed by the linear-connect extension. Feel free to use that in your own extensions!
After cloning the repo, use yarn
to install all the package dependencies.
In VS Code you change the code and run the extension in a separate app window to test with F5 (Run > Start Debugging).
To publish a new version of the extension, first install the vsce package, that is used to build VS Code extension packages.
npm i -g vsce
Then make sure to:
- Update the version in
package.json
according to semver - Add appropriate changes to
CHANGELOG.md
Build the new extension package.
vsce package
This produces a new file linear-open-issue-1.0.1.vsix
, if your version was set to 1.0.1 in package.json
.
You can use this file to release a new version of the extension on the VS Code marketplace.