Skip to content

microsoft/powerplatform-vscode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

982 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Power Platform Tools for VS Code

PullRequest Official Build

The Power Platform Tools extension brings the full Power Platform development experience into VS Code. Create, build, and deploy Power Platform solutions, packages, and Power Pages sites — with the Power Platform CLI (pac) integrated directly into your terminal.

Features

Power Platform CLI (pac)

Installing this extension automatically provides the latest Power Platform CLI in your VS Code terminal. Use it to manage authentication, solutions, environments, PCF controls, packages, and more.

VSCode Terminal with pac CLI

Authentication & Environment Management

  • Auth Panel — Create, select, and manage authentication profiles for your Power Platform environments directly from the Activity Bar.
  • Environment & Solutions Panel — Browse connected environments, view installed solutions, and quickly copy environment details (URL, IDs, version numbers).

Power Pages Development

  • Actions Hub — A centralized tree view for managing Power Pages sites: download, upload, preview, and open sites in Power Pages Studio.
  • Site Comparison — Compare local site files against the cloud environment with a full metadata diff view (tree or list), including HTML report generation and import/export.
  • File Creation Wizards — Scaffold new webpages, web templates, content snippets, page templates, and web files from the command palette.
  • Bootstrap Diff — Identify differences between your portal templates and the latest bootstrap updates.
  • Server Logic Debugging — Debug and run Power Pages server logic files with mock SDK and custom mock data support.
  • CodeQL Security Screening — Run CodeQL security analysis on your Power Pages sites directly from the Actions Hub.

Copilot for Power Pages

An integrated VS Code chat participant (@powerpages) that helps you write code by describing your expected behavior in natural language. Generate JavaScript for form validation, Web API queries, Liquid templates, and more.

PCF Control Debugging

Debug Power Apps component framework (PCF) controls with a built-in debugger that launches an Edge browser session connected to your Dataverse environment. Supports custom launch configurations, full-screen rendering mode, and browser profile management.

Language Server Support

  • HTML/Liquid Language Server — IntelliSense, autocompletion, and diagnostics for Liquid template files used in Power Pages.
  • YAML Language Server — Schema validation and editing support for Power Platform YAML files.
  • Liquid Snippets — Code snippets for common Liquid template patterns.

VS Code for Web

The extension supports VS Code for the Web with a tailored experience including a Power Pages file explorer, real-time collaboration view (see who's editing the site), and a getting-started walkthrough.

Requirements

  • VS Code 1.91.0 or later
  • .NET 6.0+ SDK (used to install the pac CLI as a dotnet tool)

Getting Started

  1. Install the extension from the VS Code Marketplace.
  2. Open the Power Platform panel in the Activity Bar.
  3. Create an authentication profile to connect to your environment.
  4. Open the VS Code terminal and start using pac:
pac help

Use the built-in help for any command group:

pac solution help
pac power-pages help
pac auth help

Extension Pack

This extension bundles the following extensions:

  • CodeQL — Security analysis for Power Pages sites
  • SARIF Viewer — View CodeQL and other analysis results

Configuration

This extension contributes settings under powerPlatform.*. The most commonly needed setting is:

  • powerPlatform.auth.cloud — Select your Azure cloud for authentication (Public, USGov, USGovHigh, USGovDoD, China). Defaults to Public.

To browse all available settings, open VS Code Settings and filter by @ext:microsoft-IsvExpTools.powerplatform-vscode.

Feedback & Questions

Please file issues on the GitHub issue tracker.

Contributing

Contributions and suggestions are welcome. Most contributions require you to agree to a Contributor License Agreement (CLA). See CONTRIBUTING.md for setup instructions and details.

Code of Conduct

See CODE_OF_CONDUCT.md.

Security

Please report security concerns as described in SECURITY.md.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

About

The Power Platform VSCode extension makes it easy to manage Power Platform environments and allows the developer to create, build and deploy Power Platform solutions, packages and portals.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors