Syntax highlighting and live preview for Wireweave - a text-based wireframe DSL for AI-assisted design.
- Syntax Highlighting - Full syntax highlighting for
.wfand.wireframefiles - Live Preview - Real-time preview as you type
- Auto-completion - Smart suggestions for components, attributes, and values with snippets
- Hover Documentation - View component and attribute documentation on hover
- Diagnostics - Real-time error detection (unknown components, unmatched braces, etc.)
- Markdown Integration - Embed wireframes in Markdown with
```wireframecode blocks - Export Options - Export wireframes as HTML
- Theme Support - Auto-detects VS Code theme (light/dark)
- Open Extensions sidebar (
Cmd+Shift+X/Ctrl+Shift+X) - Search for "Wireweave"
- Click Install
Or install via command line:
code --install-extension wireweave.wireweave-vscodeCreate a new file with .wf extension:
page "Login" {
main p=8 {
row justify=center {
col span=4 {
card p=6 {
title "Sign In" level=2
input "Email" inputType=email required
input "Password" inputType=password required
button "Sign In" primary
}
}
}
}
}
- Keyboard:
Cmd+K V(Mac) /Ctrl+K V(Windows/Linux) - Command Palette:
Wireweave: Open Preview to Side - Editor Title: Click the preview icon
Wireweave: Export as HTML
Embed wireframes in your Markdown documentation:
# Login Page Design
```wireframe
page {
card p=4 {
title "Login"
input "Email" inputType=email
button "Sign In" primary
}
}
```Open Markdown preview (Cmd+Shift+V) to see the rendered wireframe.
| Command | Keybinding | Description |
|---|---|---|
Wireweave: Open Preview |
- | Open preview in current panel |
Wireweave: Open Preview to Side |
Cmd+K V |
Open preview in split view |
Wireweave: Export as HTML |
- | Export to HTML file |
| Setting | Default | Description |
|---|---|---|
wireframe.theme |
auto |
Preview theme (auto, light, dark) |
wireframe.autoPreview |
false |
Auto-open preview when opening wireframe files |
wireframe.previewWidth |
1200 |
Base width for preview (in pixels) |
.wf(recommended).wireframe