Home

Awesome

RoslynPad

RoslynPad

A cross-platform C# editor based on Roslyn and AvalonEdit

Installing

You must also install a supported .NET SDK to allow RoslynPad to compile programs.

Source
GitHubDownloads
Microsoft Store<a href="https://www.microsoft.com/store/apps/9nctj2cqwxv0?ocid=badge"><img src="https://get.microsoft.com/images/en-us%20light.svg" height="50" alt="Microsoft Store badge logo" /></a>
wingetwinget install --id RoslynPad.RoslynPad

Running on macOS

  1. Copy the app to the Applications directory.

  2. On the first run, right click the app on Finder and select Open.

    You will be prompted that the app is not signed by a known developer - click Open.

    For more information see Open a Mac app from an unidentified developer.

Packages

RoslynPad is also available as NuGet packages which allow you to use Roslyn services and the editor in your own apps.

Code samples

Package NameDescription
NuGet RoslynPad.RoslynExposes many Roslyn editor services that are currently internal
NuGet RoslynPad.Roslyn.WindowsProvides platform-specific (WPF) implementations for UI elements required by the RoslynPad.Roslyn package
NuGet RoslynPad.Roslyn.AvaloniaProvides platform-specific (Avalonia) implementations for UI elements required by the RoslynPad.Roslyn package
NuGet RoslynPad.Editor.WindowsProvides a Roslyn-based code editor using AvaloniaEdit (WPF platform) with completion, diagnostics, and quick actions
NuGet RoslynPad.Editor.AvaloniaProvides a Roslyn-based code editor using AvalonEdit (Avalonia platform) with completion, diagnostics, and quick actions

Package versions match Roslyn's.

Building

To build the source code, use one of the following:

Solutions:

Features

Completion

Completion

Signature Help

Signature Help

Diagnostics

Diagnostics

Code Fixes

Code Fixes