Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>Swimlanes Interactive PreviewNew to Visual Studio Code? Get it now.
Swimlanes Interactive Preview

Swimlanes Interactive Preview

cedricduriau

|
13 installs
| (0) | Free
Swimlanes support for Visual Studio Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Swimlanes Interactive Preview

A Visual Studio Code extension for creating and previewing sequence diagrams using the swimlanes.io syntax and renderer.

Features

✨ Syntax Highlighting - Full support for .swimlanes files
🔄 Live Preview - Real-time diagram rendering powered by swimlanes.io
⚡ Quick Start - Create diagrams with sample templates
🎨 Rich Syntax - Messages, conditionals, notes, icons, and more

Quick Start

  1. Create a diagram: Cmd+Shift+P → "Swimlanes: Create Diagram"
  2. Preview: Right-click .swimlanes file → "Open Swimlanes Preview"
  3. Edit and see live updates as you type!

Example

title: Authentication Flow

User -> Server: Login request
Server -> Database: Validate credentials
Database -> Server: User data

if: Valid credentials
  Server -> User: Welcome!
else: Invalid credentials  
  Server -> User: Access denied
end

note: Simple authentication sequence

Supported Syntax

  • Messages: Actor -> Another: Message
  • Arrow Types: ->, ->>, -x, <->, <--, =>
  • Conditionals: if: / else: / end
  • Notes: note: Description
  • Icons: {fas-star}, {fab-github}
  • Formatting: bold, italic, code

For complete syntax documentation, visit swimlanes.io.

Commands

  • Swimlanes: Create Diagram - Generate new diagram with template
  • Swimlanes: Preview Diagram - Open live preview panel

Settings

  • swimlanes.debug.dumpHtml - Enable HTML debugging dumps
  • swimlanes.preview.autoRefresh - Auto-refresh preview on file changes

Requirements

  • VS Code 1.102.0+
  • Internet connection (loads swimlanes.io CDN)

Learn more: swimlanes.io | Syntax Guide | Examples

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft