# RoslynPad
![RoslynPad](src/RoslynPad/Resources/RoslynPad.png)
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](https://img.shields.io/github/downloads/aelij/RoslynPad/total.svg?style=flat-square)](https://github.com/aelij/RoslynPad/releases/latest) |
| 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> |
| winget | `winget install --id RoslynPad.RoslynPad` |
### Running on macOS
1. Copy the app to the `Applications` directory.
1. 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](https://support.apple.com/guide/mac-help/mh40616).
## Packages
RoslynPad is also available as NuGet packages which allow you to use Roslyn services and the editor in your own apps.
[Code samples](https://github.com/aelij/RoslynPad/tree/main/samples)
|Package Name|Description|
|------------|-----------|
|[![NuGet](https://img.shields.io/nuget/v/RoslynPad.Roslyn.svg?style=flat-square)](https://www.nuget.org/packages/RoslynPad.Roslyn) `RoslynPad.Roslyn`|Exposes many Roslyn editor services that are currently internal|
|[![NuGet](https://img.shields.io/nuget/v/RoslynPad.Roslyn.Windows.svg?style=flat-square)](https://www.nuget.org/packages/RoslynPad.Roslyn.Windows) `RoslynPad.Roslyn.Windows`|Provides platform-specific (WPF) implementations for UI elements required by the `RoslynPad.Roslyn` package|
|[![NuGet](https://img.shields.io/nuget/v/RoslynPad.Roslyn.Avalonia.svg?style=flat-square)](https://www.nuget.org/packages/RoslynPad.Roslyn.Avalonia)` RoslynPad.Roslyn.Avalonia`|Provides platform-specific (Avalonia) implementations for UI elements required by the `RoslynPad.Roslyn` package|
|[![NuGet](https://img.shields.io/nuget/v/RoslynPad.Editor.Windows.svg?style=flat-square)](https://www.nuget.org/packages/RoslynPad.Editor.Windows) `RoslynPad.Editor.Windows`|Provides a Roslyn-based code editor using AvaloniaEdit (WPF platform) with completion, diagnostics, and quick actions|
|[![NuGet](https://img.shields.io/nuget/v/RoslynPad.Editor.Avalonia.svg?style=flat-square)](https://www.nuget.org/packages/RoslynPad.Editor.Avalonia) `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](docs/Completion.png)
### Signature Help
![Signature Help](docs/SignatureHelp.png)
### Diagnostics
![Diagnostics](docs/Diagnostics.png)
### Code Fixes
![Code Fixes](docs/CodeFixes.png)
没有合适的资源?快使用搜索试试~ 我知道了~
A cross-platform C# editor based on Roslyn and AvalonEdit.zip
共388个文件
cs:265个
png:26个
xaml:15个
需积分: 5 0 下载量 186 浏览量
2023-12-27
00:06:55
上传
评论
收藏 722KB ZIP 举报
温馨提示
A cross-platform C# editor based on Roslyn and AvalonEdit
资源推荐
资源详情
资源评论
收起资源包目录
A cross-platform C# editor based on Roslyn and AvalonEdit.zip (388个子文件)
RoslynPad.appinstaller 527B
Glyphs.axaml 89KB
Icons.axaml 46KB
DocumentView.axaml 10KB
DocumentTreeView.axaml 6KB
App.axaml 5KB
App.axaml 5KB
MainWindow.axaml 4KB
SaveDocumentDialog.axaml 2KB
NewDocumentView.axaml 2KB
MainWindow.axaml 1KB
ExtractInterfaceDialog.axaml 207B
ChangeSignatureDialog.axaml 205B
PickMembersDialog.axaml 197B
CNAME 13B
nuget.config 200B
ReflectionDisassembler.cs 45KB
ExecutionHost.cs 32KB
SearchReplacePanel.cs 25KB
OpenDocumentViewModel.cs 25KB
MainViewModelBase.cs 23KB
DisassemblerHelpers.cs 19KB
QuickInfoProvider.cs 17KB
ChangeSignatureDialogViewModel.cs 14KB
RoslynSemanticHighlighter.cs 14KB
CodeTextEditor.cs 13KB
CecilExtensions.cs 13KB
RoslynHost.cs 13KB
ResultObject.cs 12KB
RoslynCodeEditor.cs 11KB
DeferredQuickInfoContentProvider.cs 11KB
DocumentView.xaml.cs 10KB
ILStructure.cs 10KB
TextMarkerService.cs 9KB
CodeSnippet.cs 9KB
CodeActionExtensions.cs 9KB
AggregateSignatureHelpProvider.cs 9KB
ContextActionsRenderer.cs 8KB
MethodBodyDisassembler.cs 8KB
DeferredQuickInfoContentProvider.cs 8KB
FileSystemCompletionHelper.cs 8KB
ApplicationSettings.cs 8KB
ChangeSignatureDialog.axaml.cs 7KB
SnippetManager.cs 7KB
ChangeSignatureDialog.xaml.cs 7KB
DocumentViewModel.cs 7KB
AbstractDirectivePathCompletionProvider.cs 6KB
SearchReplacePanelTests.cs 6KB
AvalonEditTextContainer.cs 6KB
NuGetViewModel.cs 6KB
SystemTextJsonConsoleDumper.cs 6KB
Compiler.cs 6KB
JsonConsoleDumper.cs 6KB
ExtractInterfaceDialogViewModel.cs 6KB
BraceMatchingServiceExtensions.cs 5KB
ObjectExtensions.cs 5KB
ClassificationHighlightColors.cs 5KB
PickMembersDialogViewModel.cs 5KB
SaveDocumentDialog.axaml.cs 5KB
SaveDocumentDialog.xaml.cs 5KB
RoslynCodeEditorCompletionProvider.cs 5KB
RoslynCompletionData.cs 5KB
PickMembersDialog.axaml.cs 5KB
PickMembersDialog.xaml.cs 5KB
IOUtilities.cs 5KB
MainWindow.xaml.cs 5KB
RenameHelper.cs 5KB
Helpers.cs 5KB
PlatformsFactory.cs 5KB
DocumentViewModel.cs 4KB
DocumentViewModel.cs 4KB
BraceMatcherHighlightRenderer.cs 4KB
ExtractInterfaceDialog.axaml.cs 4KB
ExtractInterfaceDialog.xaml.cs 4KB
PooledByteBufferWriter.cs 4KB
ReferenceDirectiveCompletionProvider.cs 4KB
RoslynOverloadProvider.cs 4KB
MainWindow.axaml.cs 4KB
NuGetDocumentViewModel.cs 4KB
MarkerMargin.cs 4KB
MainWindow.xaml.cs 4KB
ITextOutput.cs 4KB
RoslynContextActionProvider.cs 4KB
RuntimeInitializer.cs 3KB
TextMarkerToolTipProvider.cs 3KB
MainWindow.axaml.cs 3KB
AbstractBraceMatcher.cs 3KB
MarkerMargin.cs 3KB
DocumentTreeView.xaml.cs 3KB
DocumentFileWatcher.cs 3KB
RoslynHostReferences.cs 3KB
NotificationObject.cs 3KB
AbstractDirectiveTriviaBraceMatcher.cs 3KB
TreeListView.cs 3KB
ResultObject.cs 3KB
AvaloniaExtensions.cs 3KB
ProcessUtil.cs 3KB
MSBuildHelper.cs 3KB
DelegateCommand.cs 3KB
ExtractInterfaceOptionsService.cs 3KB
共 388 条
- 1
- 2
- 3
- 4
资源评论
Lei宝啊
- 粉丝: 1944
- 资源: 1331
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功