Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Ash StudioNew to Visual Studio Code? Get it now.
Ash Studio

Ash Studio

ketupia

|
23 installs
| (0) | Free
Ash Studio enhances your workflow by enabling quick navigation between Ash sections and visualizing your Ash code with mermaid diagrams.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Ash Studio VS Code Extension

Working with Ash Framework projects often means dealing with long resource files, making it hard to find and navigate between sections.

Ash Studio is a VS Code extension that solves this by providing navigation and code insight tools, helping you quickly jump between Ash DSL blocks and understand your code structure at a glance.

✨ Features

  • 🧭 Smart Navigation - Jump between Ash sections with document outline integration Breadcrumbs Navigation

  • ⚡ Quick Section Search - Instantly find and navigate to any Ash section via Command Palette Go To Ash Section

  • 📊 Sidebar Overview - Dedicated panel showing all Ash sections and their hierarchy Sidebar

  • 📚 Mermaid Diagram Code Lenses - CodeLens provides direct viewing of mermaid diagrams Mermaid Diagrams

📦 Installation

From Your Extensions Store

  1. Search for Ash Studio or
    • VS Code Marketplace
    • Open VSX (Windsurf/Cursor)
  2. Click install

From VSIX File

  1. Download the latest ash-studio-x.x.x.vsix file
  2. Open VS Code
  3. Go to Extensions panel (Ctrl+Shift+X / Cmd+Shift+X)
  4. Click the "..." menu → "Install from VSIX..."
  5. Select the downloaded .vsix file
  6. Reload VS Code when prompted

Requirements

  • VS Code 1.75.0 or higher
  • Ash Framework project with .ex files using Ash.Resource or Ash.Domain

🚀 Getting Started

  1. Open an Ash Project: Open any folder containing Ash Framework .ex files
  2. Open Ash Files: The extension activates when you open files with use Ash.Resource or use Ash.Domain
  3. Explore Features:
    • Sidebar Panel: Look for "Ash Studio" in the Explorer sidebar
    • Document Outline: View Ash sections in VS Code's Outline panel
    • Quick Navigation: Use Cmd+Shift+P → "Go to Ash Section..."
  4. Consider adding some version of this to your .gitignore if you don't want diagrams saved in your repo.
lib/**/*.mmd
lib/**/*.svg
lib/**/*.png
lib/**/*.pdf
lib/**/*.md

🎯 Usage

Navigation and Diagram Features

Sidebar Navigation

  • View all Ash sections organized by type (attributes, actions, relationships, etc.)
  • Click any section to jump directly to it in the code
  • Hierarchical view shows section details and nested elements

Quick Pick Navigation

  • Press Cmd+Shift+P (Ctrl+Shift+P on Windows/Linux)
  • Type "Go to Ash Section" or just "ash"
  • Select any section for instant navigation

Document Outline

  • Use VS Code's built-in Outline panel
  • See all Ash sections as navigable tree structure
  • Click to jump to any section

CodeLens Mermaid Diagram Links

  • Click on CodeLens links to open the mermaid diagram in a webview. Diagrams will be created using mix tasks.
  • Choose the diagram format in settings.

Supported Ash Constructs

Core Ash Framework

The extension recognizes and navigates these core Ash DSL blocks:

  • Resources: resource, attributes, actions, relationships, calculations, aggregates, policies, code_interface
  • Domain: resources
  • PubSub: pub_sub

Ash Ecosystem Libraries

The extension also supports DSL blocks from selected core and community Ash libraries:

  • AshAdmin: admin
  • AshAuthentication: authentication, strategies
  • AshGraphql: graphql
  • AshJsonApi: json_api
  • AshPaperTrail: paper_trail
  • AshPostgres: postgres
  • AshJason: jason
  • AshOutstanding: outstanding
  • AshNeo4j: neo4j

🐛 Troubleshooting

Extension not activating?

  • Ensure your .ex files contain use Ash.Resource or use Ash.Domain
  • check the Ash Studio channel in the Output window for errors

💬 Support & Feedback

  • Issues: GitHub Issues
  • Feature Requests: Use GitHub Issues with "enhancement" label
  • Questions: Start a GitHub Discussion
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft