C# PowerShell
Clone or download
Latest commit 7f63cb2 Mar 26, 2018
Permalink
Failed to load latest commit information.
build Update assembly versions Mar 18, 2018
deploy v13.3 Nov 2, 2017
docs Update site Nov 2, 2017
samples Update sample to v1.0.3 Sep 6, 2017
src Avalonia partially working Mar 25, 2018
.gitattributes Git attributes Sep 2, 2017
.gitignore Build changes Aug 12, 2017
CONTRIBUTING.md Create CONTRIBUTING.md Oct 11, 2017
LICENSE Initial commit Apr 1, 2015
README.md Update README.md Sep 3, 2017

README.md

RoslynPad

RoslynPad

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

Downloads

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
NuGetRoslynPad.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 2017.

Try out RoslynPad for Mac/Linux (alpha)

  • Install .NET Core SDK 1.1

  • Review the Avalonia platform prerequisites (mainly requires GTK3)

    • On a Mac, just use brew: brew install gtk+3
  • Run these commands:

    git clone https://github.com/aelij/roslynpad
    cd roslynpad/src/RoslynPad.NetCore
    dotnet restore
    dotnet run
    

Features

Completion

Completion

Signature Help

Signature Help

Diagnostics

Diagnostics

Code Fixes

Code Fixes