DiagnosticFormatOptions

class DiagnosticFormatOptions

Diagnostic formatting style options

Members defined in DiagnosticFormatOptions (6 members)

colours

RW

Wether to format diagnostics with coloured output

draw_tree

RW

Wether to insert tree branch glyphs to related information

indent

RW

Number of indentations to apply to the message (indent * tab_size)

tab_size

RW

Tab size in spaces

underline

RW

Underline character used to highlight snippets diagnostics apply to

__init__

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
Used in