Build Avalonia apps in VS Code

Skip the signup and start building for free.

CommunityFree for any use
The core XAML tools, with IntelliSense and the live previewer.
PlusIn every paid plan
Adds deeper XAML analysis, refactoring, the outline and the toolbox.
Avalonia for VS Code: Helio’s Overview XAML open beside the live previewer, which renders the dashboard the markup describes

The live XAML previewer, in the free Community edition: your view renders beside your markup, with no build step.

Trusted by industry leaders and developers worldwide

Community edition

The basics, done properly.

Free for commercial work too, with no account. Plus adds analysis, refactoring, the outline and the toolbox.

XAML auto-completion

Code completion that knows your XAML structure, properties and ViewModels, so you spend less time looking things up.

VS Code Extension XAML auto-completion

Enhanced errors and warnings

Inline diagnostics flag mistakes as you type, before they compile.

VS Code Problems panel listing Avalonia XAML errors and warnings in Helio’s Overview page

Go to definition

Jump to style, resource and control definitions with a single click.

VS Code Extension go to definition

Auto XAML namespace imports

The correct xmlns declarations are added for you when you use controls from external packages.

VS Code quick fix offering the xmlns import for Helio’s ScheduleSheet

Plus

Everything below needs Plus.

As your applications grow, so does your XAML. Plus analyses it, refactors it and helps you find your way around it. It comes with every paid plan.

Plus

Catch what the compiler can’t

A Grid.Column that points past your last column compiles clean and fails silently at runtime. Plus flags it as you type.

  • Out-of-range rows, columns and spans
  • Misplaced attached properties
  • Styles you could be sharing
Plus-only diagnostic flagging a Grid.Column outside the defined columns, with its quick fix

Plus

Clean up XAML without the busywork

Duplication creeps in one copied property at a time. One-click fixes pull it back out.

  • Extract shared inline properties into a style
  • Remove redundant values across a document
  • Lift out styles and DataTemplates
Quick fix menu offering to extract the shared properties of Helio’s RadioButtons into a Style, here or across the document

Plus

Stay oriented in big files

The XAML outline mirrors your control hierarchy beside the editor, so any element is one click away.

XAML outline view mirroring Helio’s control hierarchy in the VS Code side bar

Plus

Stop memorising control names

The toolbox lists Avalonia controls by category and drops them into your markup, with the right names and namespaces in place.

Avalonia toolbox listing draggable controls in the VS Code sidebar

Why upgrade

Professionals invest in tools that save them time.

Plus is for developers who build with Avalonia every day.

  • Your views no longer fit in your head. Files run to hundreds of lines and finding one control means scrolling. The outline keeps the whole tree in view.

  • The compiler says everything is fine. Your users disagree. Grid coordinates that point nowhere compile without complaint. The Plus analysis flags them.

  • The same properties are pasted across controls. One-click refactorings pull them into shared styles you maintain in a single place.

  • You’re building from memory instead of intent. The toolbox puts every control a drag away.

Editions

Avalonia for VS Code comes in two editions

Community provides core XAML editing capabilities at no cost, while Plus unlocks the full power of the extension with deeper refactoring and productivity features.

Core features

XAML IntelliSense
XAML previewer
Enhanced errors and warnings
In-depth Quick Info
Go to definition
Project templates
Code snippets

Plus edition

Additional XAML analysis
—
Advanced refactoring
—
XAML outline
—
XAML toolbox
—

FAQ

Your questions,
answered.

Can't find what you need? We're here to help.

Yes. The Community edition is free for personal, open-source, and commercial projects, with no account required. The Plus edition adds deeper XAML analysis, advanced refactoring, the XAML outline, and the toolbox, and is included with Avalonia Plus, Pro, and Enterprise subscriptions.

No. The extension works out of the box with no account or sign-in required. Just install it from the VS Code Marketplace and start building.

Avalonia for VS Code runs everywhere VS Code does: Windows, macOS, and Linux. It also works with VS Code-compatible editors such as Cursor.

Community includes XAML IntelliSense with autocompletion, a live XAML previewer, code navigation, error highlighting, and project templates. Plus adds deeper XAML analysis, one-click refactorings, the XAML outline, and the toolbox. The edition comparison on this page has the full breakdown.

The extension itself is not open-source, but it is free to use without restrictions. Avalonia UI, the framework it supports, is open-source and MIT-licensed.

Included with your subscription

One subscription, the whole toolchain.

Avalonia for Visual Studio

The previewer, IntelliSense and XAML analysis inside Visual Studio.

DevTools

Inspect, debug and profile an app while it runs.

Parcel

Signed installers for Windows, macOS and Linux.

Hot Reload

Edit XAML and C# while the app keeps running.

Elevate your VS Code experience

Try the Plus edition free for 30 days, without leaving the editor.