Skip to content

[Future] VS Code extension #39

@frankbria

Description

@frankbria

Overview

Create a VS Code extension to visualize and manage parallel-cc sessions directly from the editor.

Features

Sidebar Panel

  • List active sessions with status
  • Show which session owns which worktree
  • File claim indicators
  • Conflict detection status

Status Bar

  • Current session info
  • Number of parallel sessions
  • Warning indicators for conflicts

Commands

  • `parallel-cc: Switch to Session`
  • `parallel-cc: Claim File`
  • `parallel-cc: Release File`
  • `parallel-cc: View Conflicts`
  • `parallel-cc: Merge from Session`

File Decorations

  • 🔒 Exclusively claimed by other session
  • 👀 Shared access
  • ⚠️ Conflict detected

Context Menu

  • "Open in Other Session's Worktree"
  • "Compare with Main Branch"
  • "Claim for Editing"

Technical Notes

  • Extension connects to parallel-cc SQLite database
  • Uses VS Code's TreeView API for sidebar
  • Language Server Protocol for real-time updates
  • Integrates with Source Control panel

Files to Create

  • `vscode-extension/` - New directory
  • `vscode-extension/package.json`
  • `vscode-extension/src/extension.ts`
  • `vscode-extension/src/sidebar.ts`
  • `vscode-extension/src/decorations.ts`

Acceptance Criteria

  • Extension installs from marketplace or VSIX
  • Sidebar shows active sessions
  • File claims visible in explorer
  • Commands work correctly
  • Real-time updates work
  • Documentation and screenshots

Dependencies

None (standalone extension)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestphase-3-futurePhase 3: Future enhancementspriority-lowLow priority - when convenient

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions