Skip to content

About

Power Apps Fusion Studio: a VS Code extension for Power Apps Canvas App development. Git-first workflow, Power Fx parser, linter and dependency graphs, PAC CLI and Dataverse tooling, and Azure OpenAI app generation from documents, mockups or instructions.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

1 Commit

Folders and files

Repository files navigation

Fusion Studio Banner

Power Apps Studio inside VS Code - with engineering super-powers

A VS Code extension for Power Apps makers and pro developers who want to build Canvas Apps with Git, PowerFx linting, dependency graphs, Dataverse tooling and Azure OpenAI generation.

Fusion Studio dashboard

VS Code Marketplace License Stars Issues

Features - Quick Start - Documentation - Contributing


flowchart LR
    subgraph Web["Power Apps Studio (Web)"]
        W1[Native GUI]
        W2[No Git]
        W3[Limited Refactoring]
        W4[No System View]
        W5[No CI/CD]
    end
    
    subgraph VSCode["Fusion Studio"]
        V1[Native GUI Embedded]
        V2[Git First-Class]
        V3[Automated Refactoring]
        V4[Dependency Graph]
        V5[Integrated CI/CD]
        V6[AI Generation]
    end
    
    Web -.->|Fused| VSCode
Loading

Overview

Fusion Studio embeds the full Power Apps Studio experience inside VS Code, enabling professional developers to work with Canvas Apps using a Git-first workflow, AI-powered generation, and proper ALM tooling.

Key Features

mindmap
  root((Fusion<br/>Studio))
    Studio
      Embedded WebView
      Full Functionality
      Corporate Auth
    Engineering
      PowerFx Parser
      Dependency Graph
      12 Lint Rules
    AI Generation
      From Documents
      From Mockups
      From Instructions
      Copilot Chat
    Integration
      PAC CLI
      Dataverse API
      Git Workflow
    DevOps
      GitHub Actions
      Azure DevOps
      Solution Deploy
Loading

🎨 Embedded Power Apps Studio

Full Power Apps Studio in a VS Code WebView - no functionality loss.

πŸ” PowerFx Analysis Engine

  • Tokenizer - Lexical analysis of PowerFx formulas
  • Parser - Abstract Syntax Tree generation
  • Analyzer - Dependency extraction
  • Linter - 12 rules for code quality
  • Dependency Graph - Export to Mermaid, DOT, D2, JSON

πŸ€– AI-Powered Generation

  • Generate Canvas Apps from documents (MD, TXT, PDF, DOCX)
  • Generate from UI mockups/wireframes
  • Generate from natural language instructions
  • AI Copilot chat sidebar
  • Canvas App analysis with AI insights

πŸ“Š Dataverse Integration

  • Direct REST API integration
  • Visual Table Designer
  • Schema management
  • Flow Designer

πŸ”§ Git-First Workflow

  • Power Apps-specific commit messages
  • Feature branch creation
  • Auto-sync with file watcher
  • .gitignore templates

Quick Start

  1. Install - In VS Code open Extensions (Ctrl+Shift+X), search for Power Apps Fusion Studio and click Install (or install it from the VS Code Marketplace).
  2. Open the dashboard - Press Ctrl+Shift+P and run Power Apps: Open Fusion Studio Dashboard.
  3. Connect and unpack - Run Power Apps: Select Environment, then Power Apps: Unpack Canvas App to get your app as source files.

See the Quick Start guide for prerequisites (PAC CLI, Azure OpenAI) and a longer walkthrough.

Build from source

git clone https://github.com/devladlog/Fusion-Studio.git
cd Fusion-Studio/extension
npm ci
npm run compile
# Open the extension folder in VS Code and press F5 to launch an Extension Development Host

Architecture

flowchart TB
    subgraph Fusion["Fusion Studio"]
        EXT[Extension Host]
        
        subgraph Services["Services"]
            PAC[PAC CLI]
            AI[Azure OpenAI]
            DV[Dataverse]
            GIT[Git]
        end
        
        subgraph Analysis["PowerFx"]
            TOK[Tokenizer]
            PAR[Parser]
            LNT[Linter]
            DEP[Graph]
        end
        
        subgraph UI["UI Components"]
            TREE[Tree Views]
            PANEL[WebView Panels]
            STATUS[Status Bar]
        end
    end
    
    subgraph External["External"]
        PACS[(PAC CLI)]
        AOAI[(Azure OpenAI)]
        DVR[(Dataverse API)]
        PAS[(Power Apps Studio)]
    end
    
    EXT --> Services
    EXT --> Analysis
    EXT --> UI
    
    PAC --> PACS
    AI --> AOAI
    DV --> DVR
    PANEL --> PAS
Loading

Commands

Category Command Description
Studio Open Power Apps Studio Launch embedded Studio
PAC CLI Unpack/Pack Canvas App Convert .msapp ↔ source
PAC CLI Select Environment Switch environments
PowerFx Lint Formula Run linter on selection
PowerFx Analyze Formula Extract dependencies
PowerFx Export Dependency Graph Generate visualization
Git Commit Power Apps Changes Structured commits
Git Create Feature Branch New branch with prefix
AI Generate from Document AI app generation
AI Generate from Mockup Image to app
AI Generate from Instructions Text to app
AI Open AI Copilot Chat assistant
Dataverse Open Designer Visual table creator

Configuration

Basic Settings

{
    "powerapps.pacCliPath": "",
    "powerapps.defaultEnvironment": "",
    "powerapps.sourceFolder": "src"
}

AI Settings (Azure OpenAI)

{
    "powerapps.azureOpenAi.endpoint": "https://your-resource.openai.azure.com",
    "powerapps.azureOpenAi.deploymentName": "gpt-4"
}

Then run: Power Apps: Set Azure OpenAI API Key (stored securely)

Linter Settings

{
    "powerapps.linter.enabled": true,
    "powerapps.linter.maxComplexity": 10,
    "powerapps.linter.rules": {
        "no-hardcoded-environment": true,
        "max-formula-complexity": true,
        "no-deprecated-functions": true
    }
}

Dependency Graph Example

graph TD
    subgraph App["Canvas App"]
        HomeScreen:::screen --> SearchBox:::control
        HomeScreen --> AccountGallery:::control
        HomeScreen --> NewButton:::control
        
        AccountGallery --> Accounts:::datasource
        AccountGallery --> varSelectedAccount:::variable
        
        DetailScreen:::screen --> AccountForm:::control
        AccountForm --> Accounts
        AccountForm --> colPendingChanges:::collection
        
        varSelectedAccount -.-> DetailScreen
    end
    
    classDef screen fill:#e1bee7,stroke:#7b1fa2
    classDef control fill:#bbdefb,stroke:#1976d2
    classDef datasource fill:#c8e6c9,stroke:#388e3c
    classDef variable fill:#fff9c4,stroke:#fbc02d
    classDef collection fill:#ffccbc,stroke:#e64a19
Loading

Documentation

πŸ“š User Documentation

Document Description
πŸ“– User Guide Complete user guide - Getting started, features, tutorials
🎯 Features All features - Commands, capabilities, configuration
πŸ”§ Troubleshooting Problem solving - Common issues and solutions

πŸ—οΈ Technical Documentation

Document Description
πŸ›οΈ Architecture System design, components, data flow
⚑ PowerFx Analysis Parser, linter, dependency graph
πŸ€– AI Integration Azure OpenAI, Dataverse setup
πŸ‘¨β€πŸ’» Development Guide Contributing, extending, testing

Quick Links

flowchart LR
    subgraph Users["For Users"]
        UG[User Guide]
        FEAT[Features]
        TROUBLE[Troubleshooting]
    end
    
    subgraph Devs["For Developers"]
        ARCH[Architecture]
        PFX[PowerFx Engine]
        AI[AI Integration]
        DEV[Development]
    end
    
    START((Start Here)) --> UG
    UG --> FEAT
    FEAT --> TROUBLE
    
    START --> ARCH
    ARCH --> PFX
    PFX --> AI
    AI --> DEV
Loading

CI/CD

The repository ships two example pipelines for your own Power Apps source repo (an unpacked canvas app in src/). Copy them into your app repository. The GitHub Actions template lives in templates/github-actions/, outside .github/workflows/, so it never runs in this repository.

GitHub Actions

# templates/github-actions/powerapps-ci.yml -> copy to .github/workflows/ in your app repo
on:
  push:
    branches: [main, develop]
  pull_request:
    branches: [main]
  workflow_dispatch:

jobs:
  validate:                # lint PowerFx sources
  build:                   # pac canvas pack
  deploy-dev:              # deploy to development
  deploy-prod:             # deploy to production
  analyze:                 # dependency analysis

Azure DevOps

# .azure-pipelines/powerapps-pipeline.yml
trigger:
  - main

stages:
  - stage: Build
  - stage: Validate
  - stage: Deploy

Requirements

  • VS Code 1.85+
  • Node.js 18+
  • Power Platform CLI (PAC)
  • Azure OpenAI (for AI features)
  • Power Platform environment access

Project Structure

Fusion-Studio/
β”œβ”€β”€ docs/                      # Documentation
β”‚   β”œβ”€β”€ USER-GUIDE.md          # Complete user guide
β”‚   β”œβ”€β”€ FEATURES.md            # Feature reference
β”‚   β”œβ”€β”€ TROUBLESHOOTING.md     # Problem solving
β”‚   β”œβ”€β”€ ARCHITECTURE.md        # System design
β”‚   β”œβ”€β”€ POWERFX-ANALYSIS.md    # Parser & linter docs
β”‚   β”œβ”€β”€ AI-INTEGRATION.md      # AI setup guide
β”‚   β”œβ”€β”€ DEVELOPMENT.md         # Developer guide
β”‚   └── assets/                # Banner and screenshots
β”‚
β”œβ”€β”€ extension/                 # VS Code Extension
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ extension.ts       # Entry point
β”‚   β”‚   β”œβ”€β”€ powerfx/           # Analysis engine
β”‚   β”‚   β”œβ”€β”€ services/          # Core services
β”‚   β”‚   β”œβ”€β”€ panels/            # WebView panels
β”‚   β”‚   β”œβ”€β”€ views/             # Tree providers
β”‚   β”‚   └── pipelines/         # AI pipelines
β”‚   β”œβ”€β”€ resources/             # HTML templates, icons
β”‚   β”‚   β”œβ”€β”€ dashboard.html     # Main dashboard
β”‚   β”‚   β”œβ”€β”€ chatPanel.html     # AI Copilot
β”‚   β”‚   β”œβ”€β”€ dataverseDesigner.html
β”‚   β”‚   └── flowDesigner.html
β”‚   └── package.json           # Extension manifest
β”‚
β”œβ”€β”€ templates/github-actions/  # CI/CD template for your own app repo
β”œβ”€β”€ .github/                   # Publish workflow, issue templates
β”œβ”€β”€ .azure-pipelines/          # Azure DevOps template
β”œβ”€β”€ CONTRIBUTING.md
└── LICENSE

Roadmap

Released

See the changelog for details.

  • 0.1.0 (2025-09) - Embedded Studio, PAC CLI integration, unpack/pack
  • 0.2.0 (2025-12) - PowerFx parser, linter and dependency graph, Git-first workflow
  • 0.3.x (2026-04) - Azure OpenAI generation, AI Copilot, Dataverse and Flow designers
  • 0.4.x (2026-06) - Published on the Marketplace as Power Apps Fusion Studio (VladimiroLuis.powerapps-fusion-studio), refreshed Marketplace page

Planned

  • PowerFx IntelliSense
  • Real-time collaboration
  • Plugin system

Contributing

  1. Fork the repository
  2. Create feature branch: git checkout -b feature/amazing-feature
  3. Commit changes: git commit -m 'Add amazing feature'
  4. Push branch: git push origin feature/amazing-feature
  5. Open Pull Request

See CONTRIBUTING.md and the Development Guide for detailed instructions.

License

MIT License - see LICENSE for details.

Acknowledgments

  • Microsoft Power Platform team
  • Azure OpenAI team
  • VS Code Extension API team

About

Power Apps Fusion Studio: a VS Code extension for Power Apps Canvas App development. Git-first workflow, Power Fx parser, linter and dependency graphs, PAC CLI and Dataverse tooling, and Azure OpenAI app generation from documents, mockups or instructions.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages