Skip to content

Commit 06cfb53

Browse files
author
Amit Joshi
committed
Merge branch 'main' into users/amitjoshi/main-to-release-2.0.136
# Conflicts: # Agents.md # CHANGELOG.md # README.md # package-lock.json # package.json # src/common/services/AuthenticationProvider.ts # src/web/client/common/constants.ts
2 parents 9682f7c + 2632bd7 commit 06cfb53

14 files changed

Lines changed: 780 additions & 583 deletions

File tree

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
name: Bug Report
2+
description: Report a bug or unexpected behavior
3+
title: "[Bug]: "
4+
labels: ["bug"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thank you for reporting an issue! Please fill out the information below to help us investigate.
10+
11+
- type: dropdown
12+
id: related-to-code-apps
13+
attributes:
14+
label: Is this bug related to Code Apps?
15+
description: "If your bug is related to Code Apps, please report it at https://github.com/microsoft/PowerAppsCodeApps/ instead."
16+
options:
17+
- "No"
18+
- "Yes - I will create the issue at https://github.com/microsoft/PowerAppsCodeApps/ instead"
19+
validations:
20+
required: true
21+
22+
- type: textarea
23+
id: description
24+
attributes:
25+
label: Description
26+
description: A clear and concise description of the bug.
27+
placeholder: Describe the issue you encountered...
28+
validations:
29+
required: true
30+
31+
- type: input
32+
id: extension-version
33+
attributes:
34+
label: Extension Version
35+
description: "The version of the Power Platform Tools extension. You can find this in VS Code: Extensions view > Power Platform Tools > version number."
36+
placeholder: "e.g., 2.0.133"
37+
validations:
38+
required: true
39+
40+
- type: input
41+
id: vscode-version
42+
attributes:
43+
label: VS Code Version
44+
description: "The version of VS Code you are using. You can find this via Help > About."
45+
placeholder: "e.g., 1.96.0"
46+
validations:
47+
required: true
48+
49+
- type: dropdown
50+
id: vscode-channel
51+
attributes:
52+
label: VS Code Channel
53+
description: Which VS Code release channel are you using?
54+
options:
55+
- Stable
56+
- Insiders
57+
validations:
58+
required: true
59+
60+
- type: textarea
61+
id: steps-to-reproduce
62+
attributes:
63+
label: Steps to Reproduce
64+
description: List the steps to reproduce the issue.
65+
placeholder: |
66+
1. Open VS Code
67+
2. ...
68+
3. ...
69+
validations:
70+
required: true
71+
72+
- type: textarea
73+
id: expected-behavior
74+
attributes:
75+
label: Expected Behavior
76+
description: What did you expect to happen?
77+
validations:
78+
required: false
79+
80+
- type: textarea
81+
id: actual-behavior
82+
attributes:
83+
label: Actual Behavior
84+
description: What actually happened?
85+
validations:
86+
required: false
87+
88+
- type: textarea
89+
id: additional-context
90+
attributes:
91+
label: Additional Context
92+
description: Add any other context, screenshots, or log output that may help.
93+
validations:
94+
required: false
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Feature Request
2+
description: Suggest a new feature or enhancement
3+
title: "[Feature]: "
4+
labels: ["enhancement"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thank you for suggesting a feature! Please provide as much detail as possible to help us understand your request.
10+
11+
- type: textarea
12+
id: problem
13+
attributes:
14+
label: Problem Statement
15+
description: Is your feature request related to a problem? Please describe.
16+
placeholder: "A clear and concise description of the problem. e.g., I'm always frustrated when..."
17+
validations:
18+
required: true
19+
20+
- type: textarea
21+
id: solution
22+
attributes:
23+
label: Proposed Solution
24+
description: Describe the solution you'd like.
25+
placeholder: A clear and concise description of what you want to happen.
26+
validations:
27+
required: true
28+
29+
- type: textarea
30+
id: alternatives
31+
attributes:
32+
label: Alternatives Considered
33+
description: Describe any alternative solutions or features you've considered.
34+
validations:
35+
required: false
36+
37+
- type: textarea
38+
id: additional-context
39+
attributes:
40+
label: Additional Context
41+
description: Add any other context, mockups, or screenshots about the feature request.
42+
validations:
43+
required: false

Agents.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
# Agents Instructions
22

3-
## General Guidelines
4-
5-
Always read memory bank information from [memory-bank/Agents.md](memory-bank/Agents.md)
6-
73
## Architecture Overview
84

95
This is the **Power Platform VS Code extension** that provides tooling for creating, building, and deploying Power Platform solutions, packages, and portals. It integrates the Power Platform CLI (pac) directly into VS Code.
106

11-
Always refer to [memory-bank.instructions.md](instructions/memory-bank.instructions.md) for the latest architecture and coding guidelines.
12-
137
### Key Components
148

159
- **Client (`src/client/`)**: Main VS Code extension logic, UI components, and Power Pages tooling
@@ -126,3 +120,4 @@ npm run test-web-integration # Web integration tests
126120
- Use `oneDSLoggerWrapper` for all telemetry events
127121
- Events defined in `src/common/OneDSLoggerTelemetry/telemetryConstants.ts`
128122
- Separate telemetry for desktop vs web experiences
123+

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Change Log - Power Platform Extension
22

3+
## 2.0.136
4+
- Bug Fixes and enhancements
5+
36
## 2.0.134
47
- pac CLI 2.4.1, (see release notes on [nuget.org](https://www.nuget.org/packages/Microsoft.PowerApps.CLI/))
58
- Bug Fixes and enhancements

README.md

Lines changed: 61 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,110 +1,104 @@
1-
# Power Platform Extension
1+
# Power Platform Tools for VS Code
22

33
[![PullRequest](https://github.com/microsoft/powerplatform-vscode/workflows/PullRequest/badge.svg)](https://github.com/microsoft/powerplatform-vscode/actions?query=workflow%3APullRequest)
44
[![Official Build](https://dev.azure.com/dynamicscrm/OneCRM/_apis/build/status/DPX-Tools/powerplatform-vscode%20Official%20Build?branchName=release/stable)](https://dev.azure.com/dynamicscrm/OneCRM/_build/latest?definitionId=12152)
55

6-
The Power Platform extension makes it easy to manage Power Platform environments and allows the
7-
developer to create, build and deploy Power Platform solutions, packages and portals.
6+
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.
87

9-
Installing this extension will also make the latest Power Platform CLI (aka pac) available in your VSCode terminal.
8+
## Features
9+
10+
### Power Platform CLI (pac)
11+
12+
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.
1013

1114
![VSCode Terminal with pac CLI](https://github.com/microsoft/powerplatform-vscode/blob/main/src/client/assets/pac-CLI-in-terminal.png?raw=true)
1215

13-
## "Power Platform CLI Exposed" Series
16+
### Authentication & Environment Management
17+
18+
- **Auth Panel** — Create, select, and manage authentication profiles for your Power Platform environments directly from the Activity Bar.
19+
- **Environment & Solutions Panel** — Browse connected environments, view installed solutions, and quickly copy environment details (URL, IDs, version numbers).
20+
21+
### Power Pages Development
22+
23+
- **Actions Hub** — A centralized tree view for managing Power Pages sites: download, upload, preview, and open sites in Power Pages Studio.
24+
- **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.
25+
- **File Creation Wizards** — Scaffold new webpages, web templates, content snippets, page templates, and web files from the command palette.
26+
- **Bootstrap Diff** — Identify differences between your portal templates and the latest bootstrap updates.
27+
- **Server Logic Debugging** — Debug and run Power Pages server logic files with mock SDK and custom mock data support.
28+
- **CodeQL Security Screening** — Run CodeQL security analysis on your Power Pages sites directly from the Actions Hub.
29+
30+
### Copilot for Power Pages
31+
32+
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.
33+
34+
### PCF Control Debugging
1435

15-
[Daniel Laskewitz](https://github.com/Laskewitz) talks with members of our team about PAC CLI, Solutions, Power Pages, Data & Tool, Pipelines, and PCF
36+
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.
1637

17-
[![Power Platform CLI Exposed](https://img.youtube.com/vi/NkoWGF8a4aQ/0.jpg)](https://www.youtube.com/playlist?list=PLlrxD0HtieHhEdLHxQOU96ySSZpMCyAxf)
38+
### Language Server Support
1839

19-
[Power Platform CLI Exposed](https://www.youtube.com/playlist?list=PLlrxD0HtieHhEdLHxQOU96ySSZpMCyAxf)
40+
- **HTML/Liquid Language Server** — IntelliSense, autocompletion, and diagnostics for Liquid template files used in Power Pages.
41+
- **YAML Language Server** — Schema validation and editing support for Power Platform YAML files.
42+
- **Liquid Snippets** — Code snippets for common Liquid template patterns.
43+
44+
### VS Code for Web
45+
46+
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.
2047

2148
## Requirements
2249

23-
- VSCode >= 1.73.0
24-
- Windows: .NET 4.8
25-
- macOS/Linux/WSL: [.NET 6.0+ SDK](https://dotnet.microsoft.com/en-us/download/dotnet/6.0)
50+
- VS Code **1.91.0** or later
51+
- [.NET 6.0+ SDK](https://dotnet.microsoft.com/en-us/download/dotnet/6.0) (used to install the pac CLI as a dotnet tool)
2652

2753
## Getting Started
2854

29-
Open the VS Code Terminal (Terminal | New Terminal) and type in:
55+
1. Install the extension from the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=microsoft-IsvExpTools.powerplatform-vscode).
56+
2. Open the **Power Platform** panel in the Activity Bar.
57+
3. Create an authentication profile to connect to your environment.
58+
4. Open the VS Code terminal and start using `pac`:
3059

3160
```bash
32-
> pac
33-
Microsoft PowerPlatform CLI
34-
35-
Usage: pac [admin] [application] [auth] [canvas] [help] [org] [package] [paportal] [pcf] [plugin] [solution] [telemetry]
36-
37-
admin Work with your PowerPlatform Admin Account
38-
application Commands for listing and installing available DataVerse applications from AppSource
39-
auth Manage how you authenticate to various services
40-
canvas Operating with Power Apps .msapp files
41-
help Show help for the Microsoft PowerPlatform CLI
42-
org Work with your Dataverse Organization
43-
package Commands for working with Dataverse package projects
44-
paportal Commands for working with PowerApps portal website
45-
pcf Commands for working with PowerApps component framework projects
46-
plugin Commands for working with Dataverse plugin class library
47-
solution Commands for working with Dataverse solution projects
48-
telemetry Manage telemetry settings
61+
pac help
4962
```
5063

51-
The pac CLI will show you the available command nouns with a short description. To get detailed help for each noun, use the built-int help screens for each command, e.g.:
64+
Use the built-in help for any command group:
5265

5366
```bash
54-
> pac solution help
55-
Microsoft PowerApps CLI
56-
57-
Usage: pac solution [init] [add-reference] [list] [delete] [online-version] [version] [import] [export] [clone] [publish] [upgrade] [add-license] [check] [create-settings] [pack] [unpack]
58-
59-
init Initializes a directory with a new Dataverse solution project
60-
add-reference Adds a reference from the project in the current directory to the project at 'path'
61-
list List all Solutions from the current Dataverse Organization
62-
delete Delete Dataverse Solution from the current Dataverse Environment
63-
online-version Sets version for solution loaded in Dataverse environment.
64-
version Update build or revision version for solution
65-
import Import the Dataverse Solution into the current Dataverse Environment
66-
export Export a Dataverse Solution from the current Dataverse Environment
67-
clone Create a solution project based on an existing solution in your Organization
68-
publish Publishes all customizations
69-
upgrade Option to stage the Dataverse solution for upgrade
70-
add-license Add license and plan info to solution
71-
check Upload a Dataverse Solution project to run against the PowerApps Checker Service
72-
create-settings Create a settings file from solution zip or solution folder.
73-
pack Package solution components on local filesystem into solution.zip (SolutionPackager)
74-
unpack Extract solution components from solution.zip onto local filesystem (SolutionPackager)
67+
pac solution help
68+
pac power-pages help
69+
pac auth help
7570
```
7671

77-
To then view all solutions installed in the selected environment:
72+
## Extension Pack
7873

79-
```bash
80-
> pac solution list
81-
Connected to...vscode-test
82-
Listing all Solutions from the current Dataverse Organization...
74+
This extension bundles the following extensions:
8375

84-
Index Unique Name Friendly Name Version
76+
- [CodeQL](https://marketplace.visualstudio.com/items?itemName=github.vscode-codeql) — Security analysis for Power Pages sites
77+
- [SARIF Viewer](https://marketplace.visualstudio.com/items?itemName=ms-sarifvscode.sarif-viewer) — View CodeQL and other analysis results
8578

79+
## Configuration
8680

87-
[1] Cr4323c Common Data Services Default Solution 1.0.0.0
88-
```
81+
This extension contributes settings under `powerPlatform.*`. The most commonly needed setting is:
82+
83+
- **`powerPlatform.auth.cloud`** — Select your Azure cloud for authentication (`Public`, `USGov`, `USGovHigh`, `USGovDoD`, `China`). Defaults to `Public`.
84+
85+
To browse all available settings, open VS Code Settings and filter by `@ext:microsoft-IsvExpTools.powerplatform-vscode`.
8986

9087
## Feedback & Questions
9188

92-
Please use the issues tracker in the home repo: <https://github.com/microsoft/powerplatform-vscode/issues>
89+
Please file issues on the [GitHub issue tracker](https://github.com/microsoft/powerplatform-vscode/issues).
9390

9491
## Contributing
9592

96-
This project will welcome contributions in the near future. At this stage, we're not ready for contributions,
97-
but do welcome your suggestions via this repository's issue tracker.
98-
99-
See details in [CONTRIBUTING](CONTRIBUTING.md)
93+
Contributions and suggestions are welcome. Most contributions require you to agree to a Contributor License Agreement (CLA). See [CONTRIBUTING.md](CONTRIBUTING.md) for setup instructions and details.
10094

10195
### Code of Conduct
10296

103-
See details in [CODE_OF_CONDUCT](CODE_OF_CONDUCT.md)
97+
See [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md).
10498

105-
### Security issues
99+
### Security
106100

107-
Please report any security concerns or issues as described in [SECURITY](SECURITY.md) document.
101+
Please report security concerns as described in [SECURITY.md](SECURITY.md).
108102

109103
## Trademarks
110104

SUPPORT.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Support
2+
3+
## How to file issues and get help
4+
5+
This project uses GitHub Issues to track bugs and feature requests. Please search the
6+
[existing issues](https://github.com/microsoft/powerplatform-vscode/issues) before filing
7+
new issues to avoid duplicates. For new issues, file your bug or feature request as a new Issue.
8+
9+
For help and questions about using this project, please refer to the
10+
[Power Platform documentation](https://learn.microsoft.com/power-platform/).
11+
12+
## Microsoft Support Policy
13+
14+
Support for this project is limited to the resources listed above.

0 commit comments

Comments
 (0)