Mutagen-Modding / Mutagen.Bethesda.Analyzers

A project to diagnose and analyze the health of a mod or a load order
GNU General Public License v3.0
14 stars 4 forks source link

Utilize SourceGenerators to populate IAnalyzer.Topics member #94

Open Noggog opened 2 years ago

Noggog commented 2 years ago

Right now IAnalyzers need to return all the topics they can return. For most, this is a topic they statically define in their class. Would be nice to get a source generator that returns all defined topics in analyzer through the Topics member.

If a Topics member is defined by hand, then this autogenerated version should not be created, so that the user can customize when needed.