Class: DiagnosticsTab experimental
Beta
Represents a tab that is displayed in the live diagnostics panel of the debugger. It can contain various data including 'DiagnosticsViews' which are used to display live stats data in the form of graphs or tables.
Properties
tabName
readonlytabName:string
Beta
Remarks
The name of the tab. This determines the name shown in the live diagnostics section of the Minecraft VS Code debugger extension list.
views
readonlyviews:DiagnosticsView[]
Beta
Remarks
The list of views currently associated and displayed in this tab.
Methods
addView()
addView(
view):void
Beta
Parameters
view
The existing view to add to this tab.
Returns
void
Remarks
Registers an existing diagnostics view under the given tab for display in the live diagnostics.
containsView()
containsView(
view):boolean
Beta
Parameters
view
Returns
boolean
Remarks
Returns whether the given view is currently registered and used by this tab.
removeView()
removeView(
view):void
Beta
Parameters
view
The DiagnosticsView instance to remove.
Returns
void
Remarks
Removes a diagnostics view from this tab. It will no longer be rendered.
