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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Codalus.Plugins.Abstractions" Version="1.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Codalus.Plugins.Abstractions" Version="1.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Codalus.Plugins.Abstractions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Codalus.Plugins.Abstractions --version 1.2.0
                    
#r "nuget: Codalus.Plugins.Abstractions, 1.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Codalus.Plugins.Abstractions@1.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Codalus.Plugins.Abstractions&version=1.2.0
                    
Install as a Cake Addin
#tool nuget:?package=Codalus.Plugins.Abstractions&version=1.2.0
                    
Install as a Cake Tool

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.

MIT licensed.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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