icsharpcode/ILSpy
Auf GitHub ansehenImplement Roslyn formatting options in the decompiler
Open
#1.088 geöffnet am 11. März 2018
C#DecompilerHelp WantedNew FeatureOutput
Repository-Metriken
- Stars
- (25.162 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 15T 22h) (61 gemergte PRs in 30 T)
Beschreibung
As we are now part of Roslyn, it would be nice to support all the formatting options that Roslyn exposes (plus new ones dotnet/roslyn#25303).
- Copy Roslyn's CSharpFormattingOptions into
ICSharpCode.Decompiler.CSharp.Outputreplacing all options with plain bool/enum properties, so we use the same names as Roslyn does for the options, but don't have a dependency on Roslyn. - Implement the options in
CSharpOutputVisitor. - Extend the Roslyn integration to pass the current options to the decompiler.