A language status item is the preferred way to present language status reports for the active text editors, such as selected linter or notifying about a configuration problem.

Fields

text:String

The text to show for the entry. You can embed icons in the text by leveraging the syntax:

My text $(icon-name) contains icons like $(icon-name) this one.

Where the icon-name is taken from the ThemeIcon icon set, e.g. light-bulb, thumbsup, zap etc.

severity:LanguageStatusSeverity

The severity of this item.

Defaults to {@link LanguageStatusSeverity.Information information}. You can use this property to signal to users that there is a problem that needs attention, like a missing executable or an invalid configuration.

selector:DocumentSelector

A {@link DocumentSelector selector} that defines for what editors this item shows.

name:Null<String>

The short name of this item, like 'Java Language Status', etc.

read onlyid:String

The identifier of this item.

dispose():Void

Dispose and free associated resources.

@:optionaloptionaldetail:Null<String>

Optional, human-readable details for this item.

command:Null<Command>

A {@linkcode Command command} for this item.

busy:Bool

Controls whether the item is shown as "busy". Defaults to false.

@:optionaloptionalaccessibilityInformation:Null<AccessibilityInformation>

Accessibility information used when a screen reader interacts with this item