DiagnosticFormatOptions
- class DiagnosticFormatOptions
Diagnostic formatting style options
Members defined in
DiagnosticFormatOptions(6 members)
RWWether to format diagnostics with coloured output
RWWether to insert tree branch glyphs to related information
RWNumber of indentations to apply to the message (
indent * tab_size)
RWTab size in spaces
RWUnderline character used to highlight snippets diagnostics apply to
Attributes
- property colours: bool
Wether to format diagnostics with coloured output
- property draw_tree: syside.TreeDrawing
Wether to insert tree branch glyphs to related information
- property indent: int
Number of indentations to apply to the message (
indent * tab_size)
- property tab_size: int
Tab size in spaces
- property underline: str
Underline character used to highlight snippets diagnostics apply to
Methods
- __init__(indent: int = 0, tab_size: int = 4, underline: str = '^', colours: bool = False, draw_tree: syside.TreeDrawing = TreeDrawing.No) None