A file decoration represents metadata that can be rendered with a file.

Constructor

new(?badge:String, ?tooltip:String, ?color:ThemeColor)

Creates a new decoration.

Parameters:

badge

A letter that represents the decoration.

tooltip

The tooltip of the decoration.

color

The color of the decoration.

Variables

badge:Null<String>

A very short string that represents this decoration.

color:Null<ThemeColor>

The color of this decoration.

propagate:Null<Bool>

A flag expressing that this decoration should be propagated to its parents.

tooltip:Null<String>

A human-readable tooltip for this decoration.