Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Proto Atlas — Protobuf & gRPC Schema VisualizerNew to Visual Studio Code? Get it now.
Proto Atlas — Protobuf & gRPC Schema Visualizer

Proto Atlas — Protobuf & gRPC Schema Visualizer

yeoyujie

|
4 installs
| (0) | Free
Interactive graph of your .proto files: messages, enums, services and how they connect. Live preview, cursor sync, a command palette and focus mode.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Proto Atlas

Protobuf & gRPC schema visualizer for VS Code. See how your .proto files connect.

Marketplace version CI License: MIT

Proto Atlas opens a live, interactive graph next to your .proto file. Messages, enums and services appear as cards, and edges run from each field or rpc to the type it uses. The graph follows your cursor as you type, and clicking any card or field takes you back to its source line.

Status: early release (0.x). The core experience is in place and tested; the roadmap lists what is next. Bug reports and feedback are very welcome.

Install

Requires VS Code 1.100 or later (desktop, or a browser host such as vscode.dev).

  • Marketplace: open the Extensions view, search for Proto Atlas, and select Install. Or run ext install yeoyujie.proto-atlas from the Quick Open prompt (Ctrl+P).
  • From a .vsix: run code --install-extension proto-atlas-<version>.vsix.
  • From source: see Build from source.

Features

  • Live schema graph. Message, enum and service cards with field rows, oneof groups, map fields and nested types. Edges start at the exact field row that references a type; streaming rpcs animate.
  • Two-way cursor sync. Moving the caret in the editor highlights the matching card and row and pans it into view. Clicking in the graph reveals that line in the editor.
  • Navigation that scales. ELK layered layout, arrow-key spatial navigation, double-click a card to open its source, breadcrumbs, a minimap and a zoomed-out overview mode for large schemas.
  • Jump anywhere. Ctrl+K / Cmd+K (or /) in the graph opens a fuzzy palette over every message, enum, service, rpc, field and enum value in the workspace.
  • Focus mode. Show only a type and its neighbourhood, 1 to 5 hops deep. Enter it with F, Shift+Enter in the palette, or Proto Atlas: Focus on Type at Cursor.
  • Hover cards. Rest on a card header to see its full name, file and line, doc comment, usage counts, field-number range and problems.
  • Whole-workspace awareness. Imports resolve across files using buf.yaml / buf.work.yaml, your workspace folders or custom import roots. Well-known google.protobuf.* types work without their sources.
  • protoc-style diagnostics. Unresolved types, missing imports, duplicate or reserved field numbers and names, proto3 enum-zero rules and more, shown on the affected cards and rows and listed in a problems popover. Files with syntax errors still render whatever parsed.
  • proto2 and proto3, including groups, required fields and reserved ranges.
  • Fits your theme. Styled entirely from VS Code theme tokens, and checked in Dark Modern, Light Modern and High Contrast.
  • Works on the web. Runs in desktop VS Code and in browser hosts such as vscode.dev and github.dev.
  • Plays well with others. Syntax highlighting only applies to .proto files no other extension claims, so it won't conflict with vscode-proto3 or Buf.
  • Private. No telemetry and no network calls. Your schemas never leave your machine.

Usage

Open any .proto file, then use one of:

  • the Open Preview to the Side button in the editor title bar
  • Ctrl+K V (Cmd+K V on macOS)
  • Proto Atlas: Open Preview or Proto Atlas: Open Preview to the Side from the Command Palette

The preview follows whichever .proto editor is active and updates as you type.

In the graph:

Key Action
Ctrl+K / Cmd+K, / Go to any type, field, rpc or enum value
Enter / Shift+Enter (palette) Jump to the result / jump and focus on it
F Focus on the selected type
Arrow keys Move between cards
Enter Reveal the selection in the editor
Esc Clear the selection, then leave focus mode

Proto Atlas: Focus on Type at Cursor (also in the editor context menu) opens the graph focused on the type under the caret.

Settings

Setting Default Description
protoAtlas.importPaths [] Extra import roots, like protoc's -I. Relative paths resolve against each workspace folder. buf.yaml and buf.work.yaml are detected automatically.
protoAtlas.hideWellKnownTypes false Hide google.protobuf.* types (such as Timestamp) from the graph. Fields still show the type name.

Build from source

Requires Node.js 24 (see .nvmrc) and pnpm 10.

git clone https://github.com/yeoyujie/proto-atlas.git
cd proto-atlas
pnpm install
pnpm package     # builds and writes a .vsix to apps/extension/
code --install-extension apps/extension/proto-atlas-*.vsix

Or run it without installing: open the repo in VS Code and press F5 (see Development).

Roadmap

Planned releases are tracked as GitHub milestones, one per version; shipped changes are in the changelog.

  • 0.3 Share: export to SVG, PNG, Mermaid and D2, a self-contained HTML atlas, deep links and saved views
  • 0.4 Workspace: whole-workspace graph clustered by package, a sidebar tree, find usages, paths between two types
  • 0.5 Services: an RPC flow view, HTTP and validation annotations, protobuf Editions
  • 0.6 Review: compare against any git ref, with breaking-change detection
  • 1.0: a stable, documented public surface (commands, settings, link and file formats)
  • Later: a binary data inspector that decodes protobuf payloads against your schema, and availability on Open VSX for VSCodium and other compatible editors

Contributing

Issues and pull requests are welcome. For a bug report, include the VS Code version, the extension version, and, where you can share it, a minimal .proto that reproduces the problem.

Before opening a pull request, run pnpm lint, pnpm typecheck and pnpm test; CI runs the same checks plus the integration, end-to-end and visual regression suites. Commit messages follow Conventional Commits (feat(core): ..., fix(webview): ...).

Development

pnpm install
pnpm build              # webview (Vite) + extension (esbuild)
pnpm test               # Vitest unit and snapshot tests across all packages
pnpm test:integration   # extension tests in a headless VS Code web host
pnpm test:e2e           # Playwright end-to-end tests against VS Code web
pnpm test:visual        # screenshots of the webview in three themes, in the Playwright Docker image
pnpm test:visual:update # re-render the baselines (same image, so they match CI)
pnpm typecheck
pnpm lint               # Biome; `pnpm format` to fix

Press F5 in VS Code to launch the Extension Development Host (desktop and web launch configs are included). To work on the UI on its own, pnpm samples generates graph data from fixtures/ for the webview's browser dev harness.

Architecture

.proto sources ──► tree-sitter parse ──► extract (per file, cached) ──► link ──► ProtoGraph
                                                                                   │
                       webview (React Flow + ELK) ◄── typed messages ◄── GraphView projection

Only files that change are re-parsed, so a single-file edit rebuilds the graph in well under a millisecond on the bundled fixtures.

Path Purpose
packages/core Pure TypeScript: parser → binder → ProtoGraph → projections. No vscode, no React.
packages/protocol Typed, runtime-validated (Valibot) host ⇄ webview messages.
packages/webview React 19 + Tailwind v4 UI rendered inside the VS Code webview.
apps/extension The VS Code extension host, bundled for both desktop (Node) and web.
fixtures Sample proto workspaces used by tests, snapshots and the dev harness.

Acknowledgements

  • coder3101/tree-sitter-proto (MIT): the vendored parser grammar
  • googleapis/googleapis (Apache-2.0): real-world protos used as test fixtures
  • React Flow and Eclipse Layout Kernel (ELK): graph rendering and layout

License

MIT © yeoyujie

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft