Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Better Claude CodeNew to Visual Studio Code? Get it now.
Better Claude Code

Better Claude Code

lucasvtiradentes

|
3 installs
| (0) | Free
Manage and analyze Claude Code sessions directly in VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
BCC Extension logo

Better Claude Code - VS Code Extension

vscode version installs License: MIT
Overview • Features • Installation • Usage • Development

:trumpet: Overview

VS Code extension to browse and compact Claude Code sessions directly in your editor with real-time updates.

VS Code Extension Screenshot

:star: Features

  • Session Browser - Tree view with grouping and filtering
  • Real-time Updates - File system watching detects new sessions instantly
  • Session Compaction - One-click AI summarization via Claude Code CLI
  • Rich Viewing - Full conversation display with images and metadata
  • Custom Labels - Tag sessions for organization
  • Status Bar - Quick session stats at a glance
  • Filtering - Filter by date, tokens, labels, and content type
  • Grouping - Group by date, token percentage, or custom labels

:rocket: Installation

From VS Code Marketplace:

  1. Open VS Code
  2. Go to Extensions (Ctrl/Cmd + Shift + X)
  3. Search for "Better Claude Code"
  4. Click Install

From Command Line:

code --install-extension lucasvtiradentes.better-claude-code-vscode

:bulb: Usage

Getting Started

  1. Open a folder/workspace in VS Code
  2. Click the BCC icon in the activity bar
  3. Browse sessions for the current project
  4. Right-click on a session for actions

Session Browser

Browse all Claude Code sessions from the activity bar:

  • Tree View: Hierarchical display grouped by your preference
  • Auto-Discovery: Automatically detects sessions from ~/.claude/sessions/
  • Auto Expansion: Opens "Today" and "Last Hour" groups by default

Each session displays:

  • Token usage percentage (color-coded)
  • Message count (user + assistant)
  • Image count, file references
  • Custom commands, URLs
  • Compaction status (✓ badge)
  • Custom labels

Session Grouping

Organize sessions using multiple grouping modes:

  • By Date: Last Hour, Today, Yesterday, This Week, This Month, Older
  • By Token Usage: 0-25%, 25-50%, 50-75%, 75-90%, 90-100%
  • By Custom Labels: User-defined project labels

Change grouping via "Filter Sessions" command.

Session Actions

Right-click context menu provides:

  • View Conversation: Open full session in webview panel
  • Compact Session: Generate AI summary
  • Add Label: Tag with custom labels
  • Open Session File: View raw JSONL in editor
  • Copy Session Path: Copy file path to clipboard
  • Delete Session: Remove session with confirmation

Conversation Viewer

Full-screen webview panel with:

  • Message Filtering: Toggle user messages, assistant messages, tool calls
  • Image Preview: Click to open images in modal
  • Metadata Display: Session stats, badges, properties
  • Actions Menu: Quick access to operations

Session Compaction

One-click AI summarization:

  1. Right-click session → "Compact Session"
  2. BCC parses JSONL to markdown
  3. Claude Code CLI generates summary
  4. Output saved to .bcc-compaction/{sessionId}/
  5. Summary opens automatically

Output files:

  • parsed.md - Full conversation markdown
  • summary.md - AI-generated summary
  • metadata.json - Compaction metadata

Commands

Access via Command Palette (Ctrl/Cmd + Shift + P):

  • BCC: Refresh Sessions - Reload all sessions (F5)
  • BCC: Filter Sessions - Change grouping mode
  • BCC: Compact Session - Summarize session
  • BCC: Add Label - Toggle session labels
  • BCC: Show Logs - Open extension logs
  • BCC: Toggle Collapse/Expand - Toggle all groups
  • BCC: View Compaction - Open summary file

:wrench: Development

Build and install locally:

cd apps/vscode-extension
pnpm install                     # Install dependencies
pnpm run dev                     # Watch mode with hot reload
pnpm run build                   # Build for production
pnpm run typecheck               # Type checking
pnpm run vscode:package          # Package as .vsix

Local Installation:

pnpm run build

This installs a development version with "-dev" suffix, keeping your marketplace version intact.

Extension locations:

  • Official: ~/.vscode/extensions/lucasvtiradentes.better-claude-code-vscode-0.1.6
  • Development: ~/.vscode/extensions/lucasvtiradentes.better-claude-code-vscode-dev

Requirements:

  • VS Code 1.100.0+
  • Claude Code CLI installed
  • Node.js 18+

:scroll: License

MIT License - see LICENSE file for details.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft