Get it for macOS

Read structured files with consistent formatting inside BB. Switch between formatted and raw content, and copy the view on screen. Parse errors show their location in the file. Supports JSON, JSON Lines, YAML, TOML, XML, and XML-based formats. Formatting TOML omits comments; the raw view retains them.


Overview

View source

What you get

Open structured files in BB's file viewer with consistent indentation. Switch between formatted and raw content and copy the view currently on screen.

Pretty supports JSON, JSON with comments, JSON Lines, YAML, TOML, XML, and several XML-based extensions. Parse errors show their location alongside the original text. Files over five million characters open in raw view first.

How it works

The BB file viewer reads files from the selected workspace, thread storage, or machine. Formatting runs in the browser. TOML comments are not preserved in the formatted view; the raw view retains the original file content.

Requirements

Install the plugin in BB 0.46 or later. Other configured file openers remain available through Open with or the Files settings.

More from Oleg

More in File Viewers & Editors 29

Browse, open, preview, or edit files and document vaults.

View all
File ManagerManage the files on the machine bb runs on without a terminal: browse, upload, move, rename, extract and hand them to the agent. Opens as a sidebar page, as a tab beside a thread that can start in that thread's folder, and from a file link in a message. Double-click shows images, PDF, video, Markdown and code; Space looks inside zip, tar, 7z and rar archives without extracting them. Multi-gigabyte uploads resume after a dropped connection, and several files or a whole folder download as one zip. On a phone, selected rows get an Actions bar with the whole row menu. Access stays inside the home folder of the user bb runs as; tar, 7z and rar archives need tar and 7z on that machine.Foma530
FilesA VS Code-style file explorer and editor for the workspace behind a thread. Search in files finds a word across every file in the project: results are grouped by file with each hit highlighted, and clicking one opens the file on that line. It is smart case, with match-case, whole-word and regex toggles, and built for typing — file contents stay in memory between searches, so refining a query re-runs in tens of milliseconds, and a regex runs in its own worker so a runaway pattern cannot freeze BB. Around it: a file tree that shows dotfiles, editor tabs, a go-to-file palette (Cmd+P), find in the open file (Cmd+F), syntax highlighting in your BB code theme, and edit and save guarded so a change an agent made underneath you is never clobbered. Markdown files open rendered, with the source and the editor one click away. Two pickers choose the project and then its checkout or one of its worktrees; beside a thread it is pinned to that thread's worktree. Adds a `bb files` command so agents can browse and read the same workspace from the CLI, on whichever machine it lives.AbdElrahman Telb367