-
Notifications
You must be signed in to change notification settings - Fork 820
feat(udei): Add VSIX channel + UDEI service contract #21403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for extensible VSIX channel communication and introduces UDEI (Uno Development Environment Indicator) service contracts. It enables bidirectional communication between the Remote Control VS package and the VSIX extension through JSON RPC channels.
Key changes:
- Introduces new
MetadataUpdatesSupportflags to better categorize hot reload support across different IDE and runtime combinations - Adds VSIX channel infrastructure with service contracts for development environment status reporting
- Refactors hot reload configuration to support new channel communication patterns
Reviewed Changes
Copilot reviewed 22 out of 22 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| ConfigureServer.cs | Converted to record type with additional XML documentation and renamed methods |
| HotReloadMode.cs | Added MetadataUpdatesSupport flags enum for better hot reload capability detection |
| HotReloadInfoHelper.cs | New utility class for generating hot reload info attributes and version tracking |
| ClientHotReloadProcessor.cs | Updated to use new metadata updates support flags and hot reload info helper |
| ClientHotReloadProcessor.Agent.cs | Refactored metadata updates support detection with improved IDE/runtime/debugger logic |
| IUnoDevelopmentEnvironmentIndicatorService.cs | New service contract for development environment status notifications |
| IGlobalPropertiesProvider.cs | New service contract for global properties with implementation |
| Uno.UI.RemoteControl.VS.csproj | Updated package references for VS extensibility support |
| SimpleServiceProvider.cs | New lightweight service provider implementation |
| DTEHelper.cs | Minor refactoring and synchronization comments |
| EntryPoint.cs | Added new API for VSIX channel initialization with JSON RPC support |
| EntryPoint.ActiveProfileSync.cs | Refactored project user settings methods for better clarity |
| ServiceCollectionExtensions.cs | Minor formatting cleanup |
| Uno.UI.RemoteControl.Server.Processors.csproj | Added hot reload info helper compilation |
| ServerHotReloadProcessor.cs | Enhanced with hot reload info file generation and improved update processing |
| ServerHotReloadProcessor.MetadataUpdate.cs | Refactored metadata updater initialization and switch statement improvements |
| Command.cs | Added browser opening command helper |
| DevelopmentEnvironmentStatusIdeMessage.cs | New message types for development environment status communication |
| Uno.UI.Tasks.csproj | Added hot reload info helper compilation |
| HotReloadInfoTask.cs | New MSBuild task for generating hot reload info files |
| Uno.UI.Tasks.targets | Added hot reload info generation target |
| RemoteControlGenerator.cs | Added UnoPlatformIDE to MSBuild properties list |
src/Uno.UI.RemoteControl.Messaging/IDEChannel/DevelopmentEnvironmentStatusIdeMessage.cs
Outdated
Show resolved
Hide resolved
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-21403/wasm-skia-net9/index.html |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-21403/docs/index.html |
|
|
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-21403/wasm-skia-net9/index.html |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-21403/docs/index.html |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-21403/wasm-skia-net9/index.html |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-21403/docs/index.html |
|
|
|
The build 175099 found UI Test snapshots differences: Details
|
DRAFT
This include changes from #21191, #21292 and #21386 that has to be merged first
closes https://github.com/unoplatform/uno-private/issues/1489
✨ Feature
Add extensible VSIX channel
What is the current behavior? 🤔
RC.VS package is not able to send message back to the VSIX
What is the new behavior? 🚀
Json RPC channel with
IServiceProviderPR Checklist ✅
Screenshots Compare Test Runresults.