News

Uno Platform 4.0 Adds Visual Studio Code Plugin

Uno Platform 4.0 is out, highlighted by a new extension for working in Microsoft's Visual Studio Code editor.

The open source Uno Platform is a major player in the Microsoft-centric dev space, claiming the only offering that enables development of single-codebase applications for Windows, WebAssembly, iOS, macOS, Android and Linux, targeting all OSes and browsers. It has also teamed up with Microsoft on project such as WinUI 3 and has even beaten Microsoft at its own game in some respects, for example being the first to provide Ahead of Time (AOT) compilation for WebAssembly, the tech behind client-side Blazor.

Uno Platform 4.0
[Click on image for larger view.] Uno Platform 4.0 (source: Uno Platform).

The new v4.0 offering adds four major components, one of which is the VS Code integration coming via an extension in the Visual Studio Code Marketplace, now in the preview stage.

The extension is used with Uno Platform C#/XAML projects for WebAssembly and Skia-based targets, providing features traditionally seen only in the Visual Studio IDE such as:

  • Developing on Codespaces and GitPod
  • Developing on Windows, Linux and macOS
  • XAML Code Completion, providing an authoring experience when adding element names and properties, properties values, namespace values, x:Bind completion, among others, powered by a XAML Language Server developed for this purpose
  • XAML Hot Reload, allowing a running application’s XAML files to be edited and changes applied while the application is running
  • C# Hot Reload for Skia and WebAssembly targets, relying on .NET’s own Hot Reload feature integrated into the runtime
  • WebAssembly C# debugging when running on local environments

The preview is free to use now and the final version will be free for all independent developers and those in organizations with less than $1 million in revenue.

In addition to Visual Studio Code integration, developers will also be able to integrate with GitHub Codespaces and GitPod, providing the ability to create single-codebase, multi-platform applications from whatever OS they want to use.

The other three major components added in the new version include:

  • Integration with Figma, a collaborative interface design tool, enabling developers to design an application for Material Design and quickly generate XAML from Figma
  • Uno Platform Extensions to provide commonly used functions to help with new application bootstraps following proper architecture, including configuration, logging, serialization, HTTP, localization, navigation and more
  • Uno Toolkit, a set of higher-level multiplatform components not available in out-of-the-box WinUI

"Following today’s announcements, with Uno Platform you will be able to develop C# and XAML applications from any operating system or browser, and deploy them to Web, Android, iOS, macOS, Linux and Windows," Uno Platform said in announcing the new version.

About the Author

David Ramel is an editor and writer for Converge360.

comments powered by Disqus

Featured

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

  • .NET 9 Preview 3: 'I've Been Waiting 9 Years for This API!'

    Microsoft's third preview of .NET 9 sees a lot of minor tweaks and fixes with no earth-shaking new functionality, but little things can be important to individual developers.

  • Data Anomaly Detection Using a Neural Autoencoder with C#

    Dr. James McCaffrey of Microsoft Research tackles the process of examining a set of source data to find data items that are different in some way from the majority of the source items.

  • What's New for Python, Java in Visual Studio Code

    Microsoft announced March 2024 updates to its Python and Java extensions for Visual Studio Code, the open source-based, cross-platform code editor that has repeatedly been named the No. 1 tool in major development surveys.

Subscribe on YouTube