VibeBase
Bridge the gap between code and visual editing — for humans and AI, side by side.
VibeBase turns VS Code into a visual workspace for structured documents. Open a .dbml schema and see it as an interactive diagram. Open a .md file and read it as a beautifully rendered document. Edit visually or in code — changes sync both ways. AI assistants like Claude can edit the source while you see the result in real time.
Features
DBML Diagram Editor
- Opens
.dbml files as interactive ERD diagrams by default
- Drag tables, zoom, pan — full visual control
- Double-click to edit table names, columns, types inline
- Right-click for context menu: add/delete/duplicate tables and columns, change relationships
- Add Table button in toolbar for quick schema building
- Crow's foot notation for relationship cardinality
- Auto layout with topological layering
- Export to SVG, PNG, JSON
- Full DBML language support: syntax highlighting, autocomplete, hover, go-to-definition
Markdown Editor
- Opens
.md files as rendered previews by default
- Visual WYSIWYG editing mode with formatting toolbar
- Full markdown support: headings, emphasis, code blocks, tables, blockquotes, lists, task lists, images, links, footnotes, definition lists, emoji, sub/superscript, abbreviations, custom containers
How It Works With AI
VibeBase is designed for human + AI collaboration. The visual editor and the source code represent the same file — when an AI assistant modifies the .dbml or .md source, the visual editor updates instantly. When you drag a table or edit a field visually, the source updates too. This makes it natural to:
- Ask Claude to design a database schema, then rearrange the visual layout yourself
- Visually sketch out tables and relationships, then let AI refine the details in code
- Review AI-generated documentation in a clean rendered view
Visual state (table positions, zoom, theme preference) is stored as a small comment at the end of each .dbml file:
//[[vibebase.{"positions":{...},"preferences":{...}}]]
This metadata is:
- Auto-saved — no manual steps needed
- Transparent — AI assistants can read/ignore it without confusion
- Non-destructive — removing the comment just resets the layout
- Version-control friendly — it's part of the file, travels with commits
Unified Design System
- 8 color themes: Dark, Light, Midnight, Nord, Rose Pine, Solarized Dark/Light, High Contrast
- Inherited mode matches your VS Code theme automatically
- Per-file theme overrides saved in metadata
- Global settings in the VibeBase sidebar panel
Getting Started
- Install the extension
- Open any
.dbml file — diagram appears automatically
- Open any
.md file — rendered preview appears automatically
- Click the VibeBase icon in the activity bar for settings and quick actions
- Right-click tables for editing options, double-click to edit inline
| |