Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
1d19f93
Add side panel view with My Project and Help and Feedback sections
spboyer Dec 19, 2025
9e0c355
Implement My Project section with project structure
spboyer Dec 19, 2025
30769cf
Add Environments section with details and variables
spboyer Dec 19, 2025
bec9154
Remove Environments from My Project view
spboyer Dec 19, 2025
89d2924
feat(vscode): Add extensions view and enhanced environment management
spboyer Dec 20, 2025
ab57695
feat(vscode): Update Help and Feedback link from Resources to AZD Blo…
spboyer Dec 21, 2025
15197c3
feat(vscode): Add 'Show in Azure Portal' command for services
spboyer Dec 22, 2025
a9f3d19
feat(vscode): Integrate environment commands with standalone Environm…
spboyer Dec 22, 2025
98e0248
test(vscode): Add comprehensive unit tests for new features
spboyer Dec 22, 2025
6d06b05
feat(vscode): add test dependencies and improve command handling
spboyer Dec 22, 2025
ef86d25
Update ext/vscode/src/views/environments/EnvironmentsTreeDataProvider.ts
spboyer Dec 22, 2025
1cf4ebb
Remove debug consol logs, update for proper logging
spboyer Dec 22, 2025
d11000b
Update ext/vscode/src/views/environments/EnvironmentsTreeDataProvider.ts
spboyer Dec 22, 2025
e65e759
Update ext/vscode/src/commands/env.ts
spboyer Dec 22, 2025
4324bc9
Update ext/vscode/ext/vscode/package-lock.json
spboyer Dec 22, 2025
3ba2757
Update ext/vscode/src/commands/azureWorkspace/wizard/PickResourceStep.ts
spboyer Dec 22, 2025
e80abf2
fix build/test ts error
spboyer Dec 23, 2025
d316dde
fix build/tests failing
spboyer Dec 23, 2025
8d0f581
fix linting errors
spboyer Dec 28, 2025
edfa16e
feat: Add enhanced azure.yaml editing support with IntelliSense
spboyer Dec 29, 2025
56476f0
feat: Add enhanced azure.yaml editing support with IntelliSense
spboyer Dec 29, 2025
fe57c74
fix build error/linting
spboyer Dec 29, 2025
b5b058c
add copilot instructions specific to the extension
spboyer Dec 29, 2025
c8fb0e9
feat: Implement 'Add Service' command for azure.yaml file with user p…
spboyer Dec 29, 2025
14d6ac6
fix: Remove unnecessary blank lines in addService command and tests
spboyer Dec 29, 2025
13de535
feat(views): Add Template Tools section with Azure template discovery…
spboyer Dec 29, 2025
4917a35
feat: Add comprehensive azure.yaml validation to prevent error pop-ups
spboyer Jan 7, 2026
9470608
Address PR review feedback from @bwateratmsft
spboyer Jan 7, 2026
201314b
Address PR feedback: Remove duplicate YAML functionality
spboyer Jan 7, 2026
c9d60c0
Add missing words to cspell dictionary
spboyer Jan 7, 2026
1386cbb
Address PR feedback: cleanup and improvements
spboyer Jan 8, 2026
8aaaba1
update icon to svg
spboyer Jan 8, 2026
1f46371
revert icon to png due to build issue : Error: SVGs can't be used as …
spboyer Jan 8, 2026
243e468
update activity icon to svg
spboyer Jan 8, 2026
3b9e2f3
Address PR feedback for VS Code extension views
spboyer Jan 12, 2026
52ed9e8
Merge branch 'Azure:main' into feature/side-panel-view
spboyer Jan 14, 2026
b7ecc73
Address Brandon's PR feedback: reduce logging, use context.ui, add l10n
spboyer Jan 20, 2026
b59342b
Address high-priority PR feedback items
spboyer Jan 20, 2026
317ca7b
Address PR feedback from Brandon
spboyer Jan 21, 2026
8919300
Address additional PR feedback
spboyer Jan 21, 2026
0f10f8c
Consolidate repeated code in env.ts
spboyer Jan 21, 2026
813b514
Simplify AzureDevExtensionProvider
spboyer Jan 21, 2026
a4faabe
Address PR feedback: use constants, clarify watcher code, add AGENTS.md
spboyer Jan 22, 2026
adb6504
Fix failing tests and update pre-commit instructions
spboyer Jan 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions ext/vscode/.github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,10 @@ Before submitting any changes or pushing code, **always run the following checks
- Runs fast unit tests without full VS Code integration
- All tests must pass before committing

4. **CI Test Suite**: `pwsh ./ci-test.ps1` (or `./ci-test.ps1` on Windows)
- Runs the full CI test pipeline locally
- This is the same test suite that runs in CI/CD
- **Must pass before pushing to avoid pipeline failures**

### Pre-Commit Checklist
✅ Run `npm run lint` and fix all issues
✅ Run `npx cspell "src/**/*.ts"` and fix spelling errors
✅ Run `npm run unit-test` and ensure all tests pass
✅ Run `pwsh ./ci-test.ps1` and verify CI tests pass
✅ Update [README.md](../README.md) if functionality changed
✅ Verify merge conflicts are resolved (no `<<<<<<<`, `=======`, `>>>>>>>` markers)

Expand Down Expand Up @@ -183,4 +177,3 @@ When working on `azure.yaml` language support in `src/language/`:
- [Azure Developer CLI Documentation](https://learn.microsoft.com/azure/developer/azure-developer-cli/)
- [VS Code Extension API](https://code.visualstudio.com/api)
- [Contributing Guide](../CONTRIBUTING.md)
- [Test Coverage](../TEST_COVERAGE.md)
5 changes: 5 additions & 0 deletions ext/vscode/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,8 @@ node_modules
package.nls.*.json
*.vsix
*.zip

# Playwright Test Artifacts
playwright-report/
test-results/
playwright/.cache/
5 changes: 5 additions & 0 deletions ext/vscode/.vscode/cspell-dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,8 @@ azuredb
retval
LOCALAPPDATA
ellismg
networkidle
qbsearch
mystorageacct
aiapps
itemprop
116 changes: 116 additions & 0 deletions ext/vscode/PLAYWRIGHT_QUICK_START.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
# Quick Start: Playwright E2E Tests

## Installation

```bash
# Install all dependencies including Playwright
npm install

# Install Playwright browsers (Chromium by default)
npx playwright install chromium
```

## Running Tests

```bash
# Run all E2E tests
npm run test:e2e

# Run with interactive UI (recommended for development)
npm run test:e2e:ui

# Run in headed mode (see browser)
npm run test:e2e:headed

# Run in debug mode
npm run test:e2e:debug

# Run specific test file
npx playwright test portal-urls.spec.ts

# Run tests matching a pattern
npx playwright test --grep "portal"
```

## View Results

```bash
# Open HTML report after tests complete
npx playwright show-report
```

## What's Tested

### ✅ Portal URL Construction
- Web Apps, Storage, Cosmos DB, Container Apps
- Resource Group URLs
- URL format validation

### ✅ Template Gallery
- awesome-azd gallery loading
- AI templates page (aka.ms/aiapps)
- GitHub repository links
- Template metadata structure

### ✅ Documentation Links
- Azure Developer CLI docs
- GitHub issues & discussions
- Installation guides
- VS Code marketplace page
- Help & feedback links

## Test Files

```
src/test/e2e/
├── portal-urls.spec.ts # Azure Portal URL tests
├── template-gallery.spec.ts # Template discovery tests
├── documentation-links.spec.ts # Documentation link tests
└── README.md # Detailed documentation
```

## Quick Examples

### Run one test
```bash
npx playwright test documentation-links.spec.ts
```

### Run only failed tests
```bash
npx playwright test --last-failed
```

### Generate test code (record interactions)
```bash
npx playwright codegen https://aka.ms/awesome-azd
```

## CI Integration

Tests automatically run with:
- 2 retries on failures (CI only)
- Screenshots on failure
- Video recording on failure
- HTML report generation

## Common Issues

**Browser not installed?**
```bash
npx playwright install
```

**Tests timing out?**
- Check network connectivity
- Verify URLs are accessible
- Increase timeout in config if needed

**Need more browsers?**
Edit `playwright.config.ts` to enable Firefox or Safari.

## Next Steps

- Read full documentation: `src/test/e2e/README.md`
- Check Playwright docs: https://playwright.dev
- Add more tests based on new features!
26 changes: 14 additions & 12 deletions ext/vscode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ This extension makes it easier to run, create Azure Resources, and deploy Azure

Intelligent editing support for your `azure.yaml` configuration files:


- **Auto-Completion** - Smart suggestions for service properties, host types, and lifecycle hooks
- **Hover Documentation** - Inline help with examples for all azure.yaml properties
- **Schema Validation** - Full IntelliSense support via the [YAML extension](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml) including:
- Auto-completion for properties, host types, and lifecycle hooks
- Hover documentation with examples
- Validation for required properties, valid values, and YAML syntax
- **Quick Fixes** - One-click solutions for common issues:
- Create missing project folders
- Add missing language or host properties
- Fix invalid configurations
- **Validation** - Real-time diagnostics for:
- Missing or invalid project paths
- Invalid host types
- Missing recommended properties
- Configuration best practices
- Browse for existing folders
- **Project Path Validation** - Real-time diagnostics for missing or invalid project paths
- **Drag & Drop** - Add services by dragging folders onto azure.yaml (hold Shift)
- **Automatic Path Updates** - Project paths update when folders are renamed

The extension works with the YAML extension to provide comprehensive editing support for `azure.yaml` files.

### 🌲 View Panels

Expand Down Expand Up @@ -63,14 +63,16 @@ For more information about Azure Developer CLI and this VS Code extension, pleas

## Getting Started

1. Install the [Azure Developer CLI](https://aka.ms/azure-dev/install)
1. Install the Azure Developer CLI:
- **Option A**: Use the extension command `Azure Developer CLI: Install CLI` from the Command Palette
- **Option B**: Manually install from [aka.ms/azure-dev/install](https://aka.ms/azure-dev/install)
2. Open a folder containing an `azure.yaml` file, or create a new project with `azd init`
3. Right-click `azure.yaml` and select deployment commands from the context menu
4. Use the Azure Developer CLI view panel for quick access to all features

## Requirements

- [Azure Developer CLI](https://aka.ms/azure-dev/install) version 1.0.0 or higher
- [Azure Developer CLI](https://aka.ms/azure-dev/install) version 1.8.0 or higher
- [VS Code](https://code.visualstudio.com/) version 1.90.0 or higher

## Extension Settings
Expand Down
Loading