A commercial Metalama extension that allows to attach code fix suggestions to errors and warnings, and to suggest code refactorings.
$ dotnet add package Metalama.Extensions.CodeFixesThe Metalama.Extensions.CodeFixes extends Metalama.Framework with APIs that allow to suggest code fixes when reporting errors or warnings, or to suggest refactorings even without a warning.
Metalama.Framework aspect as a code fix or refactoring (aka live template).This package is a commercial extension of the open-source Metalama.Framework and requires a Metalama Professional license.
WithCodeFixes extends IDiagnostic and attaches a CodeFix to a reported diagnostic.Suggest extends IDiagnosticSink and IScopedDiagnosticSink and allows to suggest a refactoring without reporting a diagnostic.AddAttribute, RemoveAttributes or ChangeAccessibility.API Documentation: Metalama.Extensions.CodeFixes
Conceptual Documentation: Building IDE interactions