🎺 Overview
VS Code extension for Branch Context. Adds a sidebar with the current branch's context, git changes, templates, and AI session pointers, all scoped to the active branch.
⭐ Features
- Sidebar (activity bar) with five views:
- Branch Context, current
context.md outline and quick actions
- Branch AI Sessions, indexed Codex / Claude Code sessions with resume, active state, pinning, grouping, source-file open, and delete actions
- Branch Git Changes, files and commits on the current branch
- Other Branches, list, checkout, archive, and restore contexts
- Templates, apply per-branch templates
- Status bar entry with current branch and context state
- CodeLens, decorations, and document symbols inside
context.md
- Commands for sync, status, set base, apply template, review diff, and more
- CLI compatibility checks with update prompts when the installed CLI does not match the extension
🚀 Quick Start
- Install the CLI and run
bctx init in your repo (see main README).
- Install this extension from the VS Code Marketplace or Open VSX.
⚙️ Configuration
Default .bctx/config.json:
{
"default_base_branch": "main",
"sound": true,
"commit_description": false,
"template_rules": [
{
"prefix": "feature/",
"template": "feature"
},
{
"prefix": "fix/",
"template": "fix"
}
]
}
📜 License
MIT
| |