waf / CSharpRepl

A command line C# REPL with syntax highlighting – explore the language, libraries and nuget packages interactively.
https://fuqua.io/CSharpRepl/
Mozilla Public License 2.0
2.95k stars 112 forks source link

Add support for source generators #381

Open Emik03 opened 2 months ago

Emik03 commented 2 months ago

Feature Description

It would be incredible to have this working with source generators, both the native ones such as injecting System.Text.RegularExpressions.GeneratedRegexAttribute, as well as third-party ones like my Emik.ChoiceAttribute. You might even want to consider supporting analyzers too, since some third-party analyzers offer very good errors. Such an example would be another tool of mine (yes another shameless plug). I understand that this is a very hard feature to implement, so I don't expect it to be doable, but I would greatly appreciate it if it could be added.