Air Diagrams for VS CodeEdit PlantUML and Mermaid diagrams with a live preview beside your code. Works offline. No rendering server required. Quick start
Sidebar and examplesOpen Air Diagrams from the Activity Bar. New diagram in the header creates an empty Mermaid or PlantUML document. It stays unsaved until you save it. Search Examples and choose a language tab. Search accepts diagram aliases such as
Right-click an example for Preview Diagram, Open Example, Open New Copy, or Copy Source. Open New Copy always creates a separate document. Shift+F10 opens the same menu from the keyboard. Examples and thumbnails work offline. Hover over a diagram type's header to reveal its information icon; hovering the icon brightens it and highlights its background. Click it to open that type's documentation in your browser, at the selected language's example. Keyboard focus also reveals the link. Documentation requires an internet connection. Drag the language tabs to reorder them, or use Alt+Left/Right. Search history keeps the last 20 queries after a typing pause or leaving the field, including searches with no results. Up/Down recalls history; Down past the newest entry clears the search. Alt+Down focuses results. Tab order and history survive Reload Window. Switching to another sidebar panel and back preserves the current search, scroll position, language tab and expanded sections. Reopening with Examples expanded focuses search and selects its query for replacement. Collapsed Examples stays collapsed. Reload Window resets the current search and scroll. The Diagrams list is temporarily hidden. The More Actions... menu contains Settings, Documentation, and Open in Extensions. Documentation opens in your browser. Edit a diagram
Navigate the preview
The preview follows diagrams already opened with Air Diagrams, even if another extension changes their language mode. If you close it, switching files keeps it closed until you reopen it. Export an image
SettingsOpen More Actions... > Settings in the sidebar. Settings use VS Code's native editor, grouped as Diagrams, Examples, and Preview.
Default Diagram Language starts with the last language used unless you choose Mermaid or PlantUML. Explicit New Mermaid diagram and New PlantUML diagram actions always use their named language. New diagrams and example copies open untitled with the chosen language, without a location prompt. Choose the filename and destination on Save; VS Code offers language-based file types. All supported extensions remain available. File associationsUse the language selector in the status bar or VS Code's Files: Associations to choose which extension handles your diagrams. Air Diagrams respects explicit associations. If another extension conflicts, a notification offers Manage Extensions; it never disables extensions or changes your associations for you. Make Air Diagrams the default for diagram filesAdd these associations to your user or workspace
Help and privacyRead the documentation or contact support@air-diagrams.com for help or to report a security issue. Include the extension version and steps to reproduce; remove private diagram content before sending a sample. Diagrams render locally. Opening documentation or sending support email uses external services; see the privacy notice. LicenseLicensed under the Business Source License 1.1. The installed extension includes
the full license in |