Options
All
  • Public
  • Public/Protected
  • All
Menu

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

层级

  • FileDecoration

索引

Constructors(1)

Properties(4)

Constructors(1)

constructor

  • Creates a new decoration.

    Parameters

    • Optional badge: string

      A letter that represents the decoration.

    • Optional tooltip: string

      The tooltip of the decoration.

    • Optional color: ThemeColor

      The color of the decoration.

    Returns FileDecoration

Properties(4)

Optional badge

badge: string

A very short string that represents this decoration.

Optional tooltip

tooltip: string

A human-readable tooltip for this decoration.

Optional color

color: ThemeColor

The color of this decoration.

Optional propagate

propagate: boolean

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

VS Code 插件开发中文文档 | VS Code 中文文档 | VS Code 官网文档 | VS Code 扩展市场

Generated by TypeDoc | 站长统计