Vixen
02b45cc4
csharp
public record class DiagnosticFormatterOptions

Knobs for DiagnosticFormatter.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (3)

  • public static readonly DiagnosticFormatterOptions Plain

    The plain one-line form, with no source excerpt and no colour.

  • public bool ShowSource

    Show the offending source line with a caret under the span. Only possible when the location is backed by its SourceText.

  • public bool UseColor

    Wrap severity and caret in ANSI colour.

Used by (3)

  • DiagnosticFormatterVixen.Core.Syntax
  • CompileDriverVixen.Raven.Cli
  • DiagnosticFormatterTestsVixen.Raven.Tests