Skip to content

2.13.0

Latest

Choose a tag to compare

@github-actions github-actions released this 17 Oct 16:48
032feea

Eto.Forms tooling is now available in Visual Studio Code and JetBrains Rider, as well as Visual Studio. All three share the same live preview and code completion for .xeto and .jeto files, and are built for Eto.Forms 2.13.

Install

Editor Supported versions Download
Visual Studio 2022 and 2026 (Windows) Eto.DevExtension.VisualStudio.Windows.2022-2.13.0.vsix
Visual Studio Code 1.82 or later Eto.DevExtension.VSCode-2.13.0.vsix
JetBrains Rider 2025.1 or later Eto.DevExtension.Rider-2.13.0.zip

The Visual Studio and VS Code extensions are in their marketplaces and Open VSX.

See it in action

Visual Studio Code: completing a binding from sample data, then creating an event handler and jumping to it.

vscode.mp4

JetBrains Rider: completing a binding, with the preview updating as you type.

rider.mp4

Visual Studio

visualstudio.mp4

What's new

New editors

  • A new VS Code extension. Open the preview beside the editor from the button in the editor's title bar.
  • A new Rider plugin. The preview shows in the Eto Preview tool window.

Live preview (all editors)

  • Previews views written in XAML (.xeto), JSON (.jeto) or code (.eto.cs), and redraws as you type and after each build.
  • Runs in its own process, so it works with modern .NET and shows your own custom controls once the project is built.
  • Pick the platform to draw with and, for projects on Eto 2.12 or newer, the theme. The platforms are WPF or WinForms on Windows, macOS or Mac64 on macOS, and GTK wherever GTK 3 is installed. Auto picks the one your solution uses.
  • Drag the corner handle to try other sizes.
  • Errors in your XAML or JSON are underlined in the editor where they happen.
  • d:DataContext gives the preview sample data to show (needs Eto 2.13 or newer in your project), and Control.IsDesignMode lets your own controls tell when they're being previewed.
  • In Visual Studio, show the design, the code, or both, stacked or side by side. The preview now also follows Visual Studio's colours.

Code completion (all editors)

  • Completes controls, properties, events and values, including those from your own project and the libraries it references, wherever your build puts them.
  • Picking one of your own controls in a .xeto file adds the xmlns it needs.
  • Completes binding paths from the nearest d:DataContext or DataContext, and the options of markup extensions.
  • Completes event handlers from your code-behind. In VS Code and Visual Studio it can also create a missing handler and go to an existing handler's definition.
  • Typing the closing quote accepts the selected suggestion and steps over the quote that's already there.
  • Hover over a name to see its Eto.Forms documentation.

Requirements

  • The .NET 8 runtime or newer. On Windows the preview also needs the .NET 8 Desktop Runtime, and on Linux GTK 3.

Removed

  • The Visual Studio for Mac extension, since Microsoft has retired that product. Use VS Code or Rider on macOS instead.
  • Support for Visual Studio 2019.

Closed issues in this milestone

What's Changed

  • Remove Mac extension by @cwensley in #28
  • Remove VS 2019 and fix build errors by @cwensley in #29
  • Initial VS Code extension for xeto and jeto by @cwensley in #30
  • Add .jeto support to VS extension by @cwensley in #31
  • Fix starting VS with an already open editor by @cwensley in #32
  • Add autocomplete from project assemblies by @cwensley in #33
  • Add out of process preview to support .NET Core and custom types by @cwensley in #34
  • Add Rider extension by @cwensley in #35
  • Publish extensions by @cwensley in #36
  • Improve theming and preview code/design/orientation options on VS by @cwensley in #37
  • Updates options in VS UI to match Eto 2.12 by @cwensley in #38
  • Add theme selection by @cwensley in #39
  • Enable quick find in preview editor by @cwensley in #40
  • Locate assemblies using dotnet when possible by @cwensley in #41
  • Support design-time data context in the preview and completion by @cwensley in #42
  • Underline preview errors in xeto and jeto files by @cwensley in #43
  • Migrate to slnx and sdk csproj by @cwensley in #44
  • Autocomplete tweaks by @cwensley in #45
  • Event autocompleteion, creation and go to definition by @cwensley in #46
  • Close quoted values by typing the closing quote by @cwensley in #47
  • Show the Marketplace identity for app sign-ins by @cwensley in #49
  • Disable JetBrains Marketplace publishing until its token is set up by @cwensley in #48
  • Update version and simplify by @cwensley in #50
  • Name the VS Code package like the Visual Studio and Rider ones by @cwensley in #51
  • Allow retrying a release by reopening and closing its milestone by @cwensley in #52
  • Fix up warnings by @cwensley in #53

Full Changelog: 2.7.5...2.13.0