Open sandboxFocusImprove this doc

Configuring your IDE

Metalama works with any text editor or IDE since the core transformation happens during compilation. For the best design-time experience—including real-time warnings, code fixes, and syntax highlighting—you'll need to configure your IDE. This section covers Visual Studio, VS Code (with C# Dev Kit), and Rider. Other editors aren't tested.

In this section

Article Description
Configuring Visual Studio Configuration tips for Visual Studio users, including the Metalama Tools extension.
Configuring VS Code How to enable Roslyn analyzers and code fixes in VS Code.
Configuring Rider Configuration for aspect testing and other Rider-specific settings.
Configuring Claude Code Installing the Metalama skill for AI-assisted aspect development.

Feature availability by IDE

Feature Visual Studio VS Code Rider
Code transformation Yes Yes Yes
Live templates Yes No No
Code fixes and refactorings Yes Requires configuration Yes
CodeLens Yes No No
Diff preview Yes No No
Aspect testing Yes Yes Requires configuration
Note

Some features like live templates, CodeLens, and diff preview require the Metalama Tools for Visual Studio extension. See Installing Visual Studio Tools for Metalama for installation instructions.