Skip to content

This document provides a comprehensive reference for all Beans VS Code extension commands, including command palette access, keyboard shortcuts, context menu locations, and workflow examples.

Overview

The Beans extension provides commands organized into the following categories:

Command Quick Reference

CommandDescriptionKeybindingContext Menu
beans.initInitialize Beans in workspace--
beans.refreshRefresh all tree views-Active title bar
beans.viewView bean details-Tree items
beans.createCreate new bean-Draft title bar
beans.editEdit bean markdown file-Tree items
beans.setStatusChange bean status-Tree items
beans.setTypeChange bean type-Tree items
beans.setPriorityChange bean priority-Tree items
beans.setParentSet parent bean-Tree items
beans.removeParentRemove parent relationship-Tree items
beans.editBlockingEdit blocking relationships-Tree items
beans.filterFilter beans by criteria--
beans.searchSearch beans-Search title bar
beans.sortChange sort mode--
beans.copyIdCopy bean ID to clipboard-Tree items
beans.deleteDelete draft/scrapped bean-Tree items
beans.reopenCompletedReopen completed bean-Command palette only
beans.reopenScrappedReopen scrapped bean-Command palette only
beans.openConfigOpen .beans.yml--
beans.openExtensionSettingsOpen VS Code extension settings-Help title bar
beans.openUserGuideOpen user guide documentation--
beans.openAiFeaturesGuideOpen AI features guide--
beans.showOutputShow extension output channel-Help title bar
beans.details.backBack to previous bean-Details title bar
beans.copilotStartWorkCopilot: Start Work on Bean-Details title bar
beans.searchView.filterFilter search results-Search title bar
beans.searchView.clearClear search filters-Search title bar
beans.openFirstMalformedBeanOpen first malformed bean-Draft title bar

Workspace Management

Initialize Beans in Workspace

Command: beans.initCategory: Beans When: Always available

Initialize a new Beans workspace in the current folder. Creates .beans.yml configuration file with default settings.

Usage:

  1. Open Command Palette (Cmd+Shift+P / Ctrl+Shift+P)
  2. Type "Beans: Initialize Beans in Workspace"
  3. Press Enter

What it does:

  • Runs beans init in workspace root
  • Creates .beans/ directory
  • Generates .beans.yml with default configuration
  • Activates extension features

When to use:

  • First time using Beans in a project
  • After cloning a repository without Beans setup

Refresh

Command: beans.refreshCategory: Beans Icon: $(refresh)When: Workspace initialized

Refresh all tree views to reflect latest changes from filesystem.

Usage:

  1. Click refresh icon in any tree view title bar
  2. Or run from Command Palette: "Beans: Refresh"

What it does:

  • Executes beans graphql to fetch all beans
  • Updates Active, Draft, Completed, and Scrapped tree views
  • Re-applies current filters and sort mode

When to use:

  • After making changes outside VS Code
  • After CLI operations in terminal
  • To ensure UI is in sync with filesystem

Open Configuration

Command: beans.openConfigCategory: Beans

Open the .beans.yml configuration file in the editor.

Usage:

  1. Command Palette: "Beans: Open Configuration"
  2. Or click "Open Config" button in bean details view

What it does:

  • Opens .beans.yml in VS Code editor
  • Provides syntax highlighting for YAML
  • Enables editing of statuses, types, priorities, and other settings

Configuration Options:

yaml
statuses:
  - todo
  - in-progress
  - completed
  - scrapped
  - draft

types:
  - milestone
  - epic
  - feature
  - bug
  - task

priorities:
  - critical
  - high
  - normal
  - low
  - deferred

Show Output

Command: beans.showOutputCategory: Beans Icon: $(terminal)

Open the Beans extension output channel to view logs and diagnostic information.

Usage:

  1. Command Palette: "Beans: Show Output"
  2. Or click Output icon in tree view title bar

What it includes:

  • Extension activation logs
  • CLI command executions
  • Error messages and stack traces
  • Timing information
  • MCP server status

When to use:

  • Troubleshooting extension issues
  • Verifying CLI operations
  • Debugging MCP tool calls
  • Reporting bugs

Open Extension Settings

Command: beans.openExtensionSettingsCategory: Beans Icon: $(gear)

Open VS Code settings filtered to Beans extension configuration.

Usage:

  1. Command Palette: "Beans: Open Extension Settings"
  2. Or click gear icon in Help view title bar

When to use:

  • Configuring AI features, display mode, sort defaults
  • Adjusting file watcher debounce or logging levels

Open User Guide

Command: beans.openUserGuideCategory: Beans Icon: $(info)

Open the Beans extension user guide documentation.

Usage:

  1. Command Palette: "Beans: Open User Guide"

Open AI Features Guide

Command: beans.openAiFeaturesGuideCategory: Beans Icon: $(sparkle)

Open the Beans AI features documentation covering MCP tools, chat participant, and Copilot integration.

Usage:

  1. Command Palette: "Beans: Open AI Features Guide"

Bean Operations

View Bean

Command: beans.viewCategory: Beans When: Workspace initialized Context Menu: Tree items

View bean details in markdown preview pane.

Usage:

  • Tree View: Click bean to view in details panel
  • Context Menu: Right-click bean → "View Bean"
  • Command Palette: "Beans: View Bean" → Select bean from list

What it does:

  • Opens bean in VS Code preview pane
  • Displays markdown-rendered body content
  • Shows metadata: status, type, priority, dates
  • Highlights relationships: parent, children, blocking, blocked-by
  • Provides action buttons for common operations

Details Panel Sections:

  • Header: Bean code, title, status badge
  • Metadata: Type, priority, created/updated dates
  • Relationships: Parent bean, child beans, blocking relationships
  • Body: Markdown-rendered description and checklists
  • Actions: Quick access buttons for edit, status change, etc.

Create Bean

Command: beans.createCategory: Beans Icon: $(add)When: Workspace initialized Context Menu: Tree title bar

Create a new bean with interactive prompts.

Usage:

  1. Click + icon in tree view title bar
  2. Or Command Palette: "Beans: Create Bean"
  3. Enter bean title (required)
  4. Select bean type: milestone, epic, feature, bug, task
  5. Enter description (optional)

Workflow:

text
Enter Title → Select Type → Enter Description → Bean Created

Result:

  • New bean file created in .beans/
  • Bean appears in Active tree view (status: todo)
  • Success notification shows bean code
  • All tree views refresh automatically

Example:

text
Title: "Add user authentication"
Type: feature
Description: "Implement JWT-based auth with refresh tokens"
→ Creates beans-vscode-xyzw--add-user-authentication.md

Edit Bean

Command: beans.editCategory: Beans Icon: $(edit)When: Workspace initialized Context Menu: Tree items, Details view

Open bean markdown file in VS Code editor.

Usage:

  • Context Menu: Right-click bean → "Edit Bean"
  • Details View: Click pencil icon in title bar
  • Command Palette: "Beans: Edit Bean" → Select bean

What it does:

  • Opens .beans/<bean-file>.md in editor
  • Enables direct editing of:
    • Bean body (description, notes, checklists)
    • Frontmatter metadata (manually if needed)
  • Saves changes to filesystem
  • Tree views auto-update on save (if file watcher enabled)