Codalus.Plugins.Abstractions
1.2.0
dotnet add package Codalus.Plugins.Abstractions --version 1.2.0
NuGet\Install-Package Codalus.Plugins.Abstractions -Version 1.2.0
<PackageReference Include="Codalus.Plugins.Abstractions" Version="1.2.0" />
<PackageVersion Include="Codalus.Plugins.Abstractions" Version="1.2.0" />
<PackageReference Include="Codalus.Plugins.Abstractions" />
paket add Codalus.Plugins.Abstractions --version 1.2.0
#r "nuget: Codalus.Plugins.Abstractions, 1.2.0"
#:package Codalus.Plugins.Abstractions@1.2.0
#addin nuget:?package=Codalus.Plugins.Abstractions&version=1.2.0
#tool nuget:?package=Codalus.Plugins.Abstractions&version=1.2.0
Codalus.Plugins.Abstractions
The plugin API of Codalus IDE, a free, open-source IDE for .NET on Windows, macOS and Linux. A plugin references this package and implements ICodalusPlugin; it runs in a plugin host process, never in the IDE's, so a slow or crashing plugin can't freeze the UI.
The quickest start is the template, which makes a plugin with its manifest, a command, a setting and unit tests:
dotnet new install Codalus.Templates
dotnet new codalus-plugin -n Contoso.Greeter --publisher contoso
By hand, reference the package without its runtime assets (the IDE provides them) and put a codalus-plugin.json manifest beside the project:
<PackageReference Include="Codalus.Plugins.Abstractions" Version="1.2.0" ExcludeAssets="runtime" />
using Codalus.Plugins;
public sealed class Plugin : ICodalusPlugin
{
public Task ActivateAsync(IPluginContext context, CancellationToken cancellationToken)
{
context.Subscriptions.Add(context.Commands.Register("greeter.greet", async (_, ct) =>
{
await context.Window.ShowNotificationAsync(NotificationSeverity.Info, "Hello from Greeter!", cancellationToken: ct);
return 0;
}));
return Task.CompletedTask;
}
}
The API is versioned and frozen at 1.x: minor releases only add, and a member goes away only in a major release, after it has been marked obsolete (warning CODALUS0001) for at least two minor releases. The package targets net10.0.
- Writing plugins: the manifest, contribution points, running, debugging and publishing
- API reference: every type and member
- Codalus.Plugins.Testing: unit tests for plugins, with no IDE
MIT licensed.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Codalus.Plugins.Abstractions:
| Package | Downloads |
|---|---|
|
Codalus.Plugins.Testing
Headless tests for Codalus IDE plugins (M22b): an in-memory IPluginContext that records what a plugin registers and shows, and drives its commands, views, trees and providers. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.2.0 | 96 | 10/30/2026 |