VSCode Clubhouse.io
A extension that adds Clubhouse.io integration with VSCode, the purpose of this extension is
to use all the great features of Clubhouse without ever needing to leave the code editor. This means developers can spend more time coding, and less time moving/maintaining stories.
Getting started
To use this extension you will need to provide a Clubhouse.io api key, you can generate one here https://app.clubhouse.io/settings/account/api-tokens
This api key is stored locally in VSCode and is never shared with the outside world.
Commands
Command |
Description |
Set Token |
Set the clubhouse.io api token, this is required to use this VSCode extension |
Set Base Branch |
Set's the default base branch, when new features branches are created/merged, they will use the default branch as the base |
Create Story |
Creates a brand new story, this will ask for the various story details |
Get Stories |
Get's all stories currently assigned to you (separated by workflow) |
Search Stories |
Searches all stories in clubhouse.io, this supports all the search operators used in the main clubhouse app. View the full list here |
Create Commit |
Pushes a new commit to the feature branch, and automatically creates the feature branch on remote |
Create Pull Request |
Opens the "create pull request" page on github, automatically selects the current feature branch and prefills the title and description. Note: This will not automatically open the PR this just saves you filling in some of the info yourself |
Settings
Branch Format
This option enables you to change the default branch format when creating new branch, there are a couple of variable that can be added to the branch name
which will automatically be replaced with the corresponding data in clubhouse, these are the values that are currently supported:
[story_id]
= ch1234
[story_type]
= feature
[owner_username]
= daniel
[story_name]
= example-story-name
Here is an example branch format:
[story_type]/[story_id]/[story_name]
Working on this extension
To compile this extension:
yarn build
To run tests:
yarn test
To publish a new version:
vsce publish minor