Skip to content

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

License

Notifications You must be signed in to change notification settings

DotNetGurus/RoslynPad

 
 

Repository files navigation

RoslynPad

RoslynPad

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

Downloads Build Status

Also available to download in the Microsoft Store:

Get it on Windows 10

Packages

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

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

RoslynPad.Roslyn* package versions will correspond to Roslyn's.

Code samples

Building

Open src\RoslynPad.sln in Visual Studio 2019.

Running the cross-platform .NET Core Avalonia version (on Mac or Linux)

  • Install .NET Core Runtime 2.2
  • Download and unzip RoslynPadNetCore.zip.
  • Run dotnet RoslynPad.dll

Features

Completion

Completion

Signature Help

Signature Help

Diagnostics

Diagnostics

Code Fixes

Code Fixes

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.7%
  • PowerShell 0.3%