• Stars
    star
    1,445
  • Rank 31,282 (Top 0.7 %)
  • Language
    C#
  • Created about 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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
GitHub Downloads
Microsoft Store Microsoft Store badge logo
winget winget 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 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

Package versions match Roslyn's.

Building

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

  • dotnet build
  • Visual Studio 2022
  • Visual Studio Code with the C# Dev Kit extension

Solutions:

  • src/RoslynPad.sln - contains all projects (recommended only on Windows)
  • src/RoslynPad.Avalonia.sln - contains only cross-platform projects

Features

Completion

Completion

Signature Help

Signature Help

Diagnostics

Diagnostics

Code Fixes

Code Fixes

More Repositories

1

AsyncFriendlyStackTrace

Async-friendly format for stack traces and exceptions
C#
213
star
2

IgnoresAccessChecksToGenerator

Generates reference assemblies where all the internal types & members become public, and applies the IgnoresAccessChecksTo attribute
C#
151
star
3

WPFContrib

A collection of WPF controls and utility classes I've accumulated over the years.
C#
126
star
4

ConfigureAwaitChecker

ConfigureAwait Checker for ReSharper and Rider
C#
102
star
5

spanify

Span-ify your code: write high performance memory aware C#
C#
60
star
6

RawInputProcessor

Provides a way to distinguish input from multiple keyboards
C#
41
star
7

FasterReflection

Utilizes System.Reflection.Metadata to read type information very fast and without locking assembly files.
C#
31
star
8

PerformanceMonitor

Windows Performance Monitor - Reimagined
C#
12
star
9

snoopx

SnoopX - The .NET Spy Utility
C#
5
star
10

EventSourceExtensions

A library for generating EventSource classes from interfaces at run-time
C#
4
star
11

vsts-service-fabric

Service Fabric Tools for VSTS
PowerShell
4
star
12

ResourceDictionaryMerge

C#
2
star
13

samples-servicefabric-reliablecollectionquery

Provides a way to get reliable collection data as JSON and dump them into files
C#
2
star
14

azure-pipelines-template-parser

Azure DevOps pipelines yaml parser
C#
1
star
15

WPFToolkit

Fork of WPF Toolkit for .NET 4.5
C#
1
star
16

LoggerCodeGeneration

Microsoft.Extensions.Logging Code Generator
C#
1
star
17

service-fabric-test-collections

Test implementations of Service Fabric Reliable Collections
C#
1
star
18

kestrel-aks-kv-rotation

PowerShell
1
star