Bino Explorer
Browse all Bino manifests in your workspace, grouped by kind (ReportArtefact, DataSource, DataSet, LayoutPage, etc.), with inline children for layouts and quick navigation.
The Bino Reports VS Code extension provides schema-aware YAML editing, navigation, validation, preview, and dependency graph exploration for Bino report manifests.
NOTE: Screenshot placeholders are included below. Replace them with real images when you have them.
Bino Explorer
Browse all Bino manifests in your workspace, grouped by kind (ReportArtefact, DataSource, DataSet, LayoutPage, etc.), with inline children for layouts and quick navigation.
Smart Editing
Get completions, go-to-definition, and hover information for datasets,
datasources, layouts, and more, all powered by the bino CLI.
Validation & Preview
Validate your workspace, see problems inline, and run the preview server directly from VS Code.
Graph Navigation
Explore dependencies and dependents (“What uses this?”) using the manifest dependency graph, with click-to-open navigation.
Beyond YAML editing, the extension also ships a schema-driven Designer, a
DataSource Wizard, a Tree Editor, Add Element, build tasks, and SQL and
PRQL support inside query: / prql: blocks. See sections 7 and 9-13 below.
bino lsp - a real Language Server Protocol process, started
automatically over stdio, provides live diagnostics, completion, hover,
go-to-definition, find-references, rename, and quick-fixes.bino daemon - an optional persistent background process (enabled by
default, see bino.daemon.enabled) that both the LSP and the extension’s
data/preview/build features share, so indexing, validation, and DuckDB
column introspection stay warm across requests instead of paying a
cold-start cost on every call.bino lsp-helper <subcommand> CLI calls.The extension registers the daemon’s MCP server with VS Code, so agent mode in
VS Code chat can use the bino tools without any setup. It shows up as Bino in the MCP server
list (MCP: List Servers). VS Code connects to http://127.0.0.1:<port>/mcp and sends the token
from .bino/daemon.json as a Bearer token (see The daemon port file).
The server is offered only while the daemon is connected: not with bino.daemon.enabled off,
and not in an untrusted workspace. When the daemon restarts on a new port, VS Code gets the new
address on its own.
If the extension shows “The running bino daemon rejected this extension”, the daemon uses a different token than the extension expects, usually because it comes from a newer bino. Click Restart Daemon.
Before installing the extension, make sure you have:
PATH, set in bino.binPath, or downloaded by the extension (see 3.2)You can install the extension directly from the VS Code Marketplace.
The same extension is published to Open VSX, which Cursor, Windsurf and VSCodium use.
Alternatively:
The extension activates when the workspace contains a bino.toml, or when you open the Bino Reports view.
.vsix (local build)If you are working from this repository and packaging the extension yourself:
Then reload VS Code:
To uninstall a locally installed build:
The Get Started with Bino walkthrough (Help > Welcome, or
Welcome: Open Walkthrough…) has four steps: install bino, create a project
(Initialize Project runs bino init), add a DataSource with the wizard, and
start the preview.
Without a bino.toml in the workspace, the Bino Reports view shows Getting
Started with Initialize Project, Check Setup and Open Folder. Once a
bino.toml appears, the extension asks you to reload the window.
Run the Bino: Check Setup command:
Cmd+Shift+P / Ctrl+Shift+P.This command verifies:
bino CLI can be found, and its version and path.bino lsp).If something is wrong, the command shows a detailed message.
The extension looks for bino in this order: the bino.binPath setting, bino on
your PATH, then a bino that the extension downloaded.
Bino: Download bino (also a button in the walkthrough) gets the latest release
from GitHub, checks its SHA-256 checksum and keeps it in the extension’s storage
folder. If another bino is on your PATH, it offers to set bino.binPath to the
download. Reload the window afterwards. Nothing is downloaded unless you click it.
When bino is missing, or older than the extension, the extension offers Download bino at startup.
Bino runs the SQL and YAML in the workspace, so in an untrusted workspace the
extension starts nothing: no daemon, language server, preview, build, or MCP
server. Commands show a message with Manage Workspace Trust. A bino.binPath
from the workspace settings counts only in a trusted workspace. Once you trust
the workspace, the features start without a reload.
Every folder with a bino.toml is a project. The window works on one project at
a time: the project of the active file (the nearest bino.toml above it), else
the last current project, else the first one found. The language server, daemon,
index, preview and builds all follow it. When the current project changes, a
running preview restarts on the new project.
Run Bino: Switch Project… to pick the project yourself. With more than one project, the status bar menu has the same entry.
The Bino Reports activity bar container (click the Bino icon in the Activity Bar) holds four views:
binoDocuments) - all indexed manifests, grouped by kind.binoPreview) - preview, build, validate-with-queries and graph actions.binoDependencies) - the project’s registry packages and their install state.binoEnvironment) - CLI/project info, diagnostics counts, and settings shortcuts.What you see in Documents:
Screenshot placeholder:
bino.addElement (see 13)bino.refreshIndexRight-click on a document in the Bino Explorer to access:
Completion, hover, diagnostics, and navigation are all served by the bino lsp
Language Server. It only answers in Bino YAML: other YAML files in
the workspace (CI, Compose, Kubernetes) stay silent.
The extension provides completions in YAML files for:
dataset: / dependencies: - suggests DataSet names and $DataSource references.source: - suggests DataSource names.secret: - suggests ConnectionSecret names.signingProfile: - suggests SigningProfile names.selectedStyle: - suggests defined ComponentStyle names.kind: fields - suggests all known Bino kinds, plugin kinds included.query:/prql: blocks - see 12.Screenshot placeholder:
Ctrl/Cmd+Click (or F12) on:
dataset: / dependencies: values → jumps to the DataSet or DataSource.source: → DataSource.secret: → ConnectionSecret.signingProfile: → SigningProfile.selectedStyle: → ComponentStyle.page: / layoutPages: entries → LayoutPage.ref: (layout children) → the referenced component, resolved via its sibling kind.FROM / JOIN in a query → its DataSet or DataSource.Shift+F12 (Find All References) and F2 (Rename Symbol) work on any
metadata.name and update every reference site across the workspace, including
the name in the SQL of DataSets that read it. Quick fixes are offered for a
missing ${VAR} in .env, a missing required schema field, a DataSource the
query reads but spec.dependencies does not list, or a dangling reference
(scaffolds the missing manifest).
Definitions/references are resolved from a live workspace name index and support multi-document YAML and unsaved edits.
Hover over a dataset/datasource reference (or a name after FROM / JOIN) to
see its columns with their types and the first rows. A field shows its schema
description, and a scenario or variance token its IBCS meaning.
Columns are introspected live via DuckDB (through the bino daemon when
running) and cached until the project changes.
Screenshot placeholder:
${NAME}, an inlay hint shows the value it resolves to: a param
default of the document, the environment, or bino.toml [build.env], in the
order the build reads them. Values of secret-looking names show as ****.$file, localPath, path, file, stylesheet) are links to
the file, when it exists.The language server also checks bino.toml: syntax errors, wrong value types,
and keys the build ignores are shown as you type. It completes table names after
[ and the keys of the current table. The extension also registers the
bino.toml JSON schema for TOML extensions that read it.
Live diagnostics are pushed continuously by the bino lsp Language
Server as you type (schema errors, engine-constraint violations)
and, on every disk change, project-wide (lint findings, missing ${VAR}
environment variables, engine-compat warnings). No manual step is required.
Bino: Validate with Queries (also in Preview & Build) runs
bino lint --execute-queries in the integrated terminal. To check queries on
save in the editor instead, turn on bino.lsp.queryDiagnostics (see 12).
Screenshot placeholder:
The extension integrates with the bino preview command via a Preview Manager:
bino.startPreview)bino.stopPreview)bino.restartPreview)bino.openPreviewInBrowser)bino.openPreviewInWebview)bino.previewArtefactEmbedded), also a CodeLens above each document that renders on its ownBoth webviews follow the editor: when you move to another artefact (or, in the embedded preview, another component), the preview switches to it. Editing a dependency keeps the last one. The embedded preview also renders unsaved edits.
Cmd/Ctrl-click a component in the preview to open its source. A recent bino goes to the exact line, an older one to the start of the document.
In a remote window (Codespaces, Dev Containers, WSL, Remote SSH), the preview port is forwarded and the webview and browser use the forwarded address.
One Bino item in the status bar sums up the daemon, preview, index, and diagnostics state: a spinner while busy, the error or warning count, and an eye while the preview runs. The tooltip has the details (and the current project when there is more than one). Click it for a menu:
Builds run as VS Code tasks of type bino: Terminal > Run Build Task, Bino:
Build Report (bino.build, all artefacts), or Bino: Build Specific Artefact
(bino.buildArtefact). The task list has one task for all artefacts and one per
artefact. A task runs bino build --log-format json --no-color (with
--artefact <name> for one artefact) in the project root.
You can also put the task in tasks.json:
Errors and warnings that name a file and line go to the Problems panel; each build replaces the previous build’s entries. When the build reports PDFs, the message offers Open PDF (a picker when there are several). Locally the PDF opens in the system viewer, in a remote window it opens in VS Code.
Screenshot placeholder:
The extension queries the manifest dependency graph (via the bino daemon,
falling back to bino lsp-helper graph-deps) to show dependencies and
dependents as a QuickPick list. For a plain-text tree/flat view instead, run
Bino: Show Graph (Tree) / Bino: Show Graph (Flat), which runs bino graph in the integrated terminal.
In the Bino Explorer:
The extension runs a graph query for the selected node and opens a QuickPick listing related nodes.
Each entry shows:
kind: name with an icon.↓ dependency - this node is a dependency (what the root uses).↑ dependent - this node depends on the root (what uses the root).↕ both - this node is both dependent and dependency.Selecting an item:
Screenshot placeholder:
The Bino Designer edits a Table/Chart/Text/Tree/Grid manifest through a schema-driven property form instead of raw YAML. It is a custom editor for YAML files, so the text editor stays the default. Open it with:
Reopen Editor With… > Bino Designer on a YAML file,
Bino: Open Designer, the Designer CodeLens above a component, or Open Designer in the Documents view context menu,
Open in Designer in the YAML editor’s context menu (the manifest under the cursor).
Fields are generated from the merged JSON schema for the manifest’s kind.
IBCS-specific fields (scenario, variance, stack, aggregate, edges) get purpose-built pickers instead of free-text input.
A dataset/column picker is wired to live DuckDB column introspection.
Edits are applied as scoped YAML patches (via the same authoring path as quick-fixes and Add Element), so the rest of the file (comments, formatting, unrelated fields) is left untouched.
Bino ComponentStyle Editor edits the spec.content of a
ComponentStyle. Open it with Bino: Open
ComponentStyle Editor (a button in the editor title bar of a YAML file that
holds a ComponentStyle), Reopen Editor With…, or the Documents view
context menu.
global, bn-table, bn-chart-time, …). It offers
only the keys the template engine knows._default, or the engine default. A named style inherits from _default
first.barStyles, axisStyles, varianceStyles) are a
table per slot with a swatch of the resulting look. Colour lists and the
named annotation colours have add, remove and reorder buttons.selectedStyle names the style. Click
one to open it in the embedded preview. The preview follows each edit, also
before you save.spec.content is a JSON string, the editor offers Convert to YAML
object and changes nothing until then.Bino RuleSet Editor edits a RuleSet as a table. Open it like the ComponentStyle editor (Bino: Open RuleSet Editor).
ac, fc, pl, pp, and other prefixes of
the file), then the fallback row. Grey values are the engine defaults; only
changed cells are written.colorIndex is shown as the four looks (solid, light, hatched, outlined),
drawn in the colours of a ComponentStyle you pick at the top.sortIndex in
steps of 100, and the variance order that follows from it is shown next to
it.ruleset.All edits go through the same path as the Designer, so undo, comments and schema validation work as in the text editor.
The Annotations view in the Bino sidebar lists every
Annotation by artefact, page and target component.
An annotation whose target is on no page is listed under (target on no page).
Lint findings of an annotation (for example annotation-target-missing or
annotation-point-missing) show next to it.
+ in the view title) opens an empty form.mark: to for arrow,
difference, bracket and frame; percent, digits, sentiment and
highlight for a difference; and so on. color offers the names of the
bn-annotation colours.Annotate mode. Both preview panels have an Annotate button once the
preview runs a bino that supports it. With the mode on, a plain click on a bar,
a table cell, a dot or any other data point opens the annotation form with the
component and the point filled in. For an arrow, a difference or a bracket the
next click fills to. Pick in preview in the form does the same for one
end. Cmd/Ctrl+click still shows the source, in the mode too. A live report
(bino serve) draws no annotations, so it has no button.
With template engine v1.0.0-next.88 or newer (engine-version in
bino.toml), a click on a mark or a list entry in annotate mode opens that
annotation in the form, even when two annotations look the same.
Cmd/Ctrl+click on a mark shows its YAML. The Annotations view then also shows
the number each annotation got, as in the PDF, and not placed for one whose
point the engine did not find. With an older engine a click on a mark picks the
point below it, and the extension says once which engine to pin.
Run Bino: New DataSource from File… (also available by right-clicking a
.csv/.tsv/.xlsx/.xls/.parquet file in the Explorer) or Bino: New
DataSource from Database… to scaffold a new DataSource + DataSet pair.
The wizard:
bino.wizard.sampleRowLimit rows).Tree documents, instead of editing nested YAML by hand. Like the
Designer it is a custom editor: Reopen Editor With… > Bino Tree Editor,
or Bino: Open Tree Editor (a button in the editor title bar of YAML files).DataSource/DataSet manifests - opens a webview showing a live
100-row data sample for that source.query: blocks are highlighted as SQL and prql: blocks as
PRQL. Inside them the language server:
FROM / JOIN,FROM / JOIN.Query diagnostics are off by default. With bino.lsp.queryDiagnostics on,
saving a file runs each inline SQL DataSet query with LIMIT 0 and shows DuckDB
parse and bind errors on the query lines. It reads no rows, but it may still open
remote sources.
For a prql: block:
The SQL preview needs the PRQL VS Code extension, and the extension offers to install it.
Bino: Add Element (the + in the Documents view toolbar) is the single entry point for creating a manifest. It lists every kind bino knows, plugin kinds included, grouped by category (data, layout, embeddable, artefact, config). DataSource and DataSet open the DataSource Wizard. Every other kind asks for a name and the fields it needs, then writes the file and opens it. It replaces the earlier Bino: Add <Kind> commands.
All settings live under the Bino Reports section in VS Code Settings.
| Setting | Type | Default | Description |
|---|---|---|---|
bino.binPath |
string | "" |
Path to the bino CLI. If not set, uses bino from PATH, then a downloaded bino. |
bino.columnCacheTTL |
number | 60000 | Column cache TTL (ms) for column lookups in the extension. |
bino.previewPort |
number | 45678 | Port number for the bino preview server. |
bino.daemon.enabled |
boolean | true | Enable the persistent background daemon for faster indexing/validation/data. |
bino.lsp.queryDiagnostics |
boolean | false | On save, check DataSet queries with DuckDB and show errors on the query line. |
bino.wizard.sampleRowLimit |
number | 100 | Max sample rows the DataSource wizard fetches when introspecting a source. |
Changes to bino.binPath and bino.previewPort apply at once: the language server and a running preview restart. A change to bino.daemon.enabled needs a window reload. bino.lsp.queryDiagnostics applies at once.
Example configuration:
bino: command not found.PATH, set bino.binPath, or run Bino: Download bino.apiVersion: bino.bi/v1alpha1 and a recognized kind:.bino lsp startup errors.View → Output, then select Bino Reports from the dropdown, or Open Log in the status bar menu.This page is a living document. As the VS Code extension grows (new commands, graph views, or additional editor integrations), update this page to keep it in sync with the implementation.