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.
optionalaccessibilityInformation:Null<AccessibilityInformation>
Accessibility information used when a screen reader interacts with this item