Protected ReadonlycommandProtectedcurrentlyProtected ReadonlyeditorProtected ReadonlyformatterProtected ReadonlyformatterProtected ReadonlyhoverProtected ReadonlylabelProtected ReadonlylanguagesProtected ReadonlymessageProtectedpendingProtectedpinnedProtected ReadonlystatusProtected ReadonlystatusProtected ReadonlytoProtected StaticLANGUAGE_Protected StaticLANGUAGE_ProtectedaddProtectedcreateProtectedcreateOptionaleditor: TextEditorProtectedcreateProtectedcreateProtectedcreateProtectedcreateOptionaleditor: TextEditorProtectedcreateProtectedcreateProtectedcreateOptionaleditor: TextEditorProtectedcreateProtectedcreateOptionaleditor: TextEditorProtectedcreateOptionaleditor: TextEditorProtecteddoProtectedgetProtectedisProtectedrenderOptionaltext: stringProtectedscheduleSchedules an update to the status bar. All updates are chained to prevent race conditions.
The current editor, or undefined if no editor is active
Whether to update the language mode element (only needed on editor change)
ProtectedsetProtectedtoggleToggles whether a language status item is pinned to the status bar.
Optionaleditor: TextEditorProtectedtoOptionaleditor: TextEditorProtectedupdateProtectedupdateSchedules a language status items update. Called when language status items are added/removed.
ProtectedupdateUpdates pinned status bar items. Removes all currently pinned items first, then adds back only those relevant to the current editor context.
Optionalitems: LanguageStatus[]Optionaleditor: TextEditor
Performs the actual language status items update.