Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>Lucid for VS CodeNew to Visual Studio Code? Get it now.
Lucid for VS Code

Lucid for VS Code

Lucid Software

|
410 installs
| (19) | Free
Create, preview, edit, and collaborate on Lucid diagrams in VS Code — backed by a real Lucid document that travels with your code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Lucid for VS Code

Create, preview, edit, and collaborate on Lucid diagrams in VS Code—backed by a real Lucid document that travels with your code.

Create or open a diagram directly in your editor, make quick changes, and save it to your repository. Each diagram is a durable Lucid document, so it remains collaborative and governed while also staying reviewable alongside the code it describes.

Features

Key capabilities

Capability Details
Open, create, and edit Lucid diagrams in VS Code Browse your Lucid documents, update shapes and connections, and edit labels without leaving your IDE.
Convert Mermaid to editable Lucid shapes Paste Mermaid from an AI coding assistant or any other source, then refine the resulting Lucid diagram.
Save to Codebase Save a PNG and its linked Lucid reference file into a folder you choose, ready to commit with your next change.
Give AI coding agents architecture context Agents can read the saved PNG directly or use the reference file and Lucid MCP to retrieve the live document.
Keep diagrams current as your architecture evolves Update a diagram in VS Code and sync its saved PNG when it is out of date.

Example workflows

Turn agent output into a diagram that ships with your code

Turn agent output into a diagram that ships with your code

You're building a new service and ask Claude Code to map the architecture. It returns Mermaid code. Paste it into the Lucid extension and it converts to editable shapes. Quickly fix the layout and adjust for the new requirements, then hit Save to codebase. A PNG lands in your repo alongside the code. The next engineer to open the PR sees the diagram, and agents pick up the reference file or the PNG, providing context they didn't have before.

Keep the reference architecture open while you code

Keep the reference architecture open while you code

You're implementing a new data flow and need the architecture doc in view. Open the doc picker, find the diagram, and it loads in a panel beside your code. Change the flow mid-implementation and update the diagram in place. The extension knows the PNG is out of date, and one click syncs everything again.

Generate a system-level diagram without dragging a shape

Generate a system-level diagram without dragging a shape

You need a high-level view of the whole system. Using Lucid's MCP, you generate the architecture diagram without placing a single shape. Watch it build live, then edit the Lucid shapes directly until it's exactly what you want.

Requirements

This extension requires a Lucid account. Signing in to your Lucid account is required to create or open documents. If you're already signed in to Lucid in your browser, you'll still need to sign in once inside VS Code.

Note: The in-editor experience does not have full access to Lucid features. It is a focused subset of the full Lucid editor, optimized for quick diagram creation and viewing, all within your IDE.

Getting started

  1. Search for Lucid for VS Code in the VS Code Marketplace and select Install.
  2. In VS Code, open the Command Palette with Cmd/Ctrl+Shift+P, search for Lucid, select Lucid: Sign in, and complete the sign-in flow.
  3. Open the Command Palette again, search for Lucid, and select Lucid: Create new document or Lucid: Open document.
  4. Edit the diagram inline, then select Save to Codebase and commit the saved files with your code.

Focused in-editor experience

The extension provides a focused subset of the full Lucid editor for quick diagram creation, viewing, and edits. Select Open in Browser whenever you need the complete Lucid experience.

Known limitations

This is the Lucid editing experience inside VS Code, not the full Lucid web app. If you click on “open in browser,” you’ll be redirected to Lucid in a browser window and will have the full Lucid experience.

Here are the core features* that aren’t supported in the Lucid extension experience:

Limitation Details
Lucid AI Lucid AI functionality is not available in the VS Code Extension, including converting Lucid diagrams to Mermaid code.
Sharing from within the extension You can't open the share modal from inside the extension. To share a document with collaborators, go to Lucid on the web.
Enterprise accounts with anonymous users disabled If your org has turned off anonymous users for security reasons, the extension won't work yet. An enterprise auth path is coming later this year.
Template libraries Template libraries are currently not available within the extension.
Embedding Embed features aren't available in the extension. Use “Save to Codebase” to get a diagram into your repo.
Export Exporting to SVG, PNG, JSON, CSV, PDF and PowerPoint is not available within the extension. However, you can save as a PNG.

*This list is not exhaustive; there may be other features with reduced or modified functionality.

A note about the extension

The Lucid VS Code Extension requires users to have an active Lucid account. By using this extension, you acknowledge and agree to our Terms of Service and Privacy Policy, which apply to your use of the extension but not to your use of any Non-Lucid Application (as defined in our Terms of Service) in connection with the extension.

Support

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