Skip to content

Scratchpad tabs in the workspace tab strip #726

Description

@jacodv

What problem does this solve?

When working in a worktree I often need somewhere to jot quick notes — a command I'm about to run, a snippet an agent produced, a checklist for the current task. Today the only options are opening an external editor/notes app (losing context and window focus) or abusing a terminal tab (e.g. cat > /dev/null or an editor session), which burns a Ghostty surface and a zmx session for what is just plain text.

Proposed solution

Add a "scratchpad" as a new tab kind alongside terminal tabs in the workspace tab strip: a full-pane plain-text editor (NSTextView with undo, find bar, and standard macOS text features) with no Ghostty surface, split tree, or zmx session. Creatable from a button next to "+" in the tab bar, the File menu, or a rebindable New Scratchpad shortcut (default ⌥⌘T). Contents persist per-worktree in the existing layout snapshot so notes survive app restarts, and legacy layouts decode safely.

Alternatives considered

  • External notes apps / editors: lose window context and per-worktree association.
  • A terminal tab running an editor: costs a surface + zmx session and conflicts with agent presence tracking.

Supacode version

Built from source (main @ c4e28e2)

Are you planning to build this yourself?

  • I intend to open a pull request once this is approved and marked ready.

Before submitting

  • I searched existing issues and this is not a duplicate.
  • I understand feature pull requests are closed until the issue is marked ready.
  • I agree to follow this project's Code of Conduct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions