# VS Code extension

> Open the Kanbus board in a VS Code tab, next to your code, with live updates as you and your agents change issues from the CLI.

Canonical: https://kanb.us/features/vscode-plugin.html

The Kanbus Board extension puts the [Kanban board](/features/kanban-board.html) inside VS Code. It opens the same console you would run in a browser, in an editor tab beside your code, so you can watch the board without switching windows. The extension bundles the `kbsc` console server and starts it for you.

::video{src="https://dmhqusv90xmye.cloudfront.net/kanbus-feature-videos/vscode-plugin.mp4" poster="https://dmhqusv90xmye.cloudfront.net/kanbus-feature-videos/vscode-plugin.jpg" title="VS Code Plugin"}

## Open the board

The extension activates in any workspace that contains a `.kanbus.yml` file. Run `kbs init` first if the repository does not have one yet.

:::step-list
:::step
Open the workspace that contains your Kanbus project.
:::
:::step
Open the Command Palette with `Cmd+Shift+P` on macOS or `Ctrl+Shift+P` on Windows and Linux.
:::
:::step
Run **Kanbus: Open Board**. The board opens in a new tab and updates in real time when issues change.
:::
:::

The only setting is `kanbus.port`, the port for the bundled server. The default, `0`, picks a free port automatically.

## What it does and does not do

The tab shows the same board as the standalone console, with the same search, filters, detail panel, metrics and wiki views. Like the console, it is a viewer for issues: create and update issues with `kbs` in the integrated terminal, and the board reflects the change at once. The extension adds one command, **Kanbus: Open Board**; it has no Activity Bar view and does not link issue IDs in your code.

## Install

The extension is named **Kanbus Board**, from the publisher `kanbus`, and is at version 0.1.0. Its source is in `apps/vscode` in the Kanbus repository. To build and install it from source, build the Rust console server and the console assets first, then package the extension:

```bash
cd rust && cargo build --release
cd ../apps/console && npm install && npm run build
cd ../vscode && npm install && npm run package
code --install-extension kanbus-board-0.1.0.vsix
```

## Learn more

- [Extension README](https://github.com/AnthusAI/Kanbus/blob/main/apps/vscode/README.md) for usage and settings.
- [Getting started](https://github.com/AnthusAI/Kanbus/blob/main/docs/GETTING_STARTED.md) for installing the CLI.
- Related features: [Kanban board](/features/kanban-board.html), [Realtime collaboration](/features/realtime-collaboration.html), [Command line](/features/core-management.html).
