Skip to main content

modules/window/sidebar

Interfaces

SidebarPanelDef

Defined in: modules/window/sidebar.d.ts:58

Properties

activityBarId

activityBarId: string

Defined in: modules/window/sidebar.d.ts:59

optional header?: SidebarPanelHeader

Defined in: modules/window/sidebar.d.ts:60

sections

sections: SidebarSectionDef[]

Defined in: modules/window/sidebar.d.ts:61


SidebarPanelHeader

Defined in: modules/window/sidebar.d.ts:52

Properties

actions?

optional actions?: MenuItem[]

Defined in: modules/window/sidebar.d.ts:54

maxOverflow?

optional maxOverflow?: number

Defined in: modules/window/sidebar.d.ts:55

title

title: string

Defined in: modules/window/sidebar.d.ts:53


SidebarSectionContext

Defined in: modules/window/sidebar.d.ts:10

Properties

expanded

expanded: boolean

Defined in: modules/window/sidebar.d.ts:12

height

height: number | "auto"

Defined in: modules/window/sidebar.d.ts:11


SidebarSectionDef

Defined in: modules/window/sidebar.d.ts:20

Properties

actions?

optional actions?: MenuItem[]

Defined in: modules/window/sidebar.d.ts:47

Menu items injected into the section header.

content

content: SidebarSectionContent

Defined in: modules/window/sidebar.d.ts:24

defaultExpanded?

optional defaultExpanded?: boolean

Defined in: modules/window/sidebar.d.ts:29

Default
true
defaultHeight?

optional defaultHeight?: number | "auto"

Defined in: modules/window/sidebar.d.ts:33

px or 'auto',

Default
150
fillHeight?

optional fillHeight?: boolean

Defined in: modules/window/sidebar.d.ts:31

flex:1 — only one section per panel

hidden?

optional hidden?: boolean

Defined in: modules/window/sidebar.d.ts:25

id

id: string

Defined in: modules/window/sidebar.d.ts:21

maxHeight?

optional maxHeight?: number

Defined in: modules/window/sidebar.d.ts:35

Max limit when height is 'auto'

maxOverflow?

optional maxOverflow?: number

Defined in: modules/window/sidebar.d.ts:49

Default
3
minHeight?

optional minHeight?: number

Defined in: modules/window/sidebar.d.ts:36

scrollX?

optional scrollX?: boolean

Defined in: modules/window/sidebar.d.ts:40

Default
false
sticky?

optional sticky?: boolean

Defined in: modules/window/sidebar.d.ts:41

stickyTop?

optional stickyTop?: number

Defined in: modules/window/sidebar.d.ts:42

stickyZIndex?

optional stickyZIndex?: number

Defined in: modules/window/sidebar.d.ts:43

title

title: ReactNode

Defined in: modules/window/sidebar.d.ts:23

Empty string '' → static block (no collapsible)

Type Aliases

SidebarSectionContent

SidebarSectionContent = React.ReactNode | React.ComponentType<any> | ((ctx) => React.ReactNode)

Defined in: modules/window/sidebar.d.ts:15


SidebarState

SidebarState = "expanded" | "collapsed" | "hidden"

Defined in: modules/window/sidebar.d.ts:8

References

ActivityBarItemOptions

Re-exports ActivityBarItemOptions


app

Re-exports app


authentication

Re-exports authentication


BookmarkFolder

Re-exports BookmarkFolder


CommandMetadata

Re-exports CommandMetadata


commands

Re-exports commands


CommitOptions

Re-exports CommitOptions


ConfigurationProperty

Re-exports ConfigurationProperty


CopyOptions

Re-exports CopyOptions


Diagnostic

Re-exports Diagnostic


DiagnosticCollection

Re-exports DiagnosticCollection


DiagnosticSeverity

Re-exports DiagnosticSeverity


Disposable

Re-exports Disposable


DocumentSymbol

Re-exports DocumentSymbol


ExtensionContext

Re-exports ExtensionContext


ExtensionInfo

Re-exports ExtensionInfo


extensions

Re-exports extensions


FileDecoration

Re-exports FileDecoration


FileFilter

Re-exports FileFilter


FileStat

Re-exports FileStat


FileSystemAPI

Re-exports FileSystemAPI


FindOptions

Re-exports FindOptions


fs

Re-exports fs


git

Re-exports git


GitBranch

Re-exports GitBranch


GitChangedFile

Re-exports GitChangedFile


GitCommit

Re-exports GitCommit


GitFileStatus

Re-exports GitFileStatus


GitHubUser

Re-exports GitHubUser


GitRepository

Re-exports GitRepository


GitSortMode

Re-exports GitSortMode


GitStash

Re-exports GitStash


IConfigurationSection

Re-exports IConfigurationSection


IconThemeDefinition

Re-exports IconThemeDefinition


IconThemeMap

Re-exports IconThemeMap


InputBoxOptions

Re-exports InputBoxOptions


languages

Re-exports languages


lsp

Re-exports lsp


LspServerConfig

Re-exports LspServerConfig


Re-exports MenuItem


Re-exports menus


ModalOptions

Re-exports ModalOptions


MSCodeUIColors

Re-exports MSCodeUIColors


MultiPickerOptions

Re-exports MultiPickerOptions


NotificationAction

Re-exports NotificationAction


OutputChannel

Re-exports OutputChannel


PickerOptions

Re-exports PickerOptions


Position

Re-exports Position


ProgressNotification

Re-exports ProgressNotification


QuickPickItem

Re-exports QuickPickItem


QuickPickOptions

Re-exports QuickPickOptions


RecentWorkspace

Re-exports RecentWorkspace


ReplaceOptions

Re-exports ReplaceOptions


ResolvedIcon

Re-exports ResolvedIcon


Re-exports search


SearchFileResult

Re-exports SearchFileResult


SearchMatch

Re-exports SearchMatch


Selection

Re-exports Selection


SettingOption

Re-exports SettingOption


SettingType

Re-exports SettingType


SilentSearchOptions

Re-exports SilentSearchOptions


StashOptions

Re-exports StashOptions


StatusBarAlignment

Re-exports StatusBarAlignment


StatusBarItemController

Re-exports StatusBarItemController


StatusBarItemOptions

Re-exports StatusBarItemOptions


SymbolKind

Re-exports SymbolKind


SymbolProvider

Re-exports SymbolProvider


Tab

Re-exports Tab


TabDiffData

Re-exports TabDiffData


TabOptions

Re-exports TabOptions


TabType

Re-exports TabType


TaskExecution

Re-exports TaskExecution


TaskOptions

Re-exports TaskOptions


tasks

Re-exports tasks


Terminal

Re-exports Terminal


TerminalExitStatus

Re-exports TerminalExitStatus


TerminalOptions

Re-exports TerminalOptions


termis

Re-exports termis


TermisView

Re-exports TermisView


TextDocument

Re-exports TextDocument


TextEditor

Re-exports TextEditor


TextEditorEdit

Re-exports TextEditorEdit


TextEditorOptions

Re-exports TextEditorOptions


ThemeDefinition

Re-exports ThemeDefinition


themes

Re-exports themes


TokenColor

Re-exports TokenColor


TreeDataProvider

Re-exports TreeDataProvider


TreeItem

Re-exports TreeItem


TreeView

Re-exports TreeView


TreeViewOptions

Re-exports TreeViewOptions


window

Re-exports window


workspace

Re-exports workspace


WorkspaceConfiguration

Re-exports WorkspaceConfiguration


WorkspaceFolder

Re-exports WorkspaceFolder


WriteOptions

Re-exports WriteOptions