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.
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
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.
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
Full Power Apps Studio in a VS Code WebView - no functionality loss.
- 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
- 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
- Direct REST API integration
- Visual Table Designer
- Schema management
- Flow Designer
- Power Apps-specific commit messages
- Feature branch creation
- Auto-sync with file watcher
- .gitignore templates
- 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). - Open the dashboard - Press
Ctrl+Shift+Pand run Power Apps: Open Fusion Studio Dashboard. - 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.
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 Hostflowchart 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
| 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 |
{
"powerapps.pacCliPath": "",
"powerapps.defaultEnvironment": "",
"powerapps.sourceFolder": "src"
}{
"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)
{
"powerapps.linter.enabled": true,
"powerapps.linter.maxComplexity": 10,
"powerapps.linter.rules": {
"no-hardcoded-environment": true,
"max-formula-complexity": true,
"no-deprecated-functions": true
}
}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
| Document | Description |
|---|---|
| π User Guide | Complete user guide - Getting started, features, tutorials |
| π― Features | All features - Commands, capabilities, configuration |
| π§ Troubleshooting | Problem solving - Common issues and solutions |
| 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 |
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
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.
# 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-pipelines/powerapps-pipeline.yml
trigger:
- main
stages:
- stage: Build
- stage: Validate
- stage: Deploy- VS Code 1.85+
- Node.js 18+
- Power Platform CLI (PAC)
- Azure OpenAI (for AI features)
- Power Platform environment access
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
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
- PowerFx IntelliSense
- Real-time collaboration
- Plugin system
- Fork the repository
- Create feature branch:
git checkout -b feature/amazing-feature - Commit changes:
git commit -m 'Add amazing feature' - Push branch:
git push origin feature/amazing-feature - Open Pull Request
See CONTRIBUTING.md and the Development Guide for detailed instructions.
MIT License - see LICENSE for details.
- Microsoft Power Platform team
- Azure OpenAI team
- VS Code Extension API team
