modules/window/activityBar
Interfaces
ActivityBarItemOptions
Defined in: modules/window/activityBar.d.ts:9
Configuration for creating a new Activity Bar item
Properties
content?
optionalcontent?:ComponentType<any>
Defined in: modules/window/activityBar.d.ts:29
The React component rendered inside the sidebar panel (legacy fallback).
icon
icon:
string
Defined in: modules/window/activityBar.d.ts:15
Icon name passed to <Icon>
id
id:
string
Defined in: modules/window/activityBar.d.ts:11
Unique panel / action ID. Will be namespaced with the extension ID automatically.
label
label:
string
Defined in: modules/window/activityBar.d.ts:13
Tooltip + default sidebar heading
onClick?
optionalonClick?: () =>void
Defined in: modules/window/activityBar.d.ts:32
Called every time the icon is clicked
Returns
void
openSidebarContent?
optionalopenSidebarContent?:boolean
Defined in: modules/window/activityBar.d.ts:26
If true, clicking this item toggles a sidebar panel.
You must define the sidebar using mscode.window.sidebar.registerSidebarPanel.
Default
false
position?
optionalposition?:"top"|"bottom"
Defined in: modules/window/activityBar.d.ts:17
Where the icon sits.
Default
'top'
priority?
optionalpriority?:number
Defined in: modules/window/activityBar.d.ts:19
Priority for sorting. Lower number = higher up.
Default
100
when?
optionalwhen?:string|boolean
Defined in: modules/window/activityBar.d.ts:38
Condition clause evaluated dynamically to determine if the item should be visible.
Example
"isWorkspaceOpen"
References
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
MenuItem
Re-exports MenuItem
menus
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
search
Re-exports search
SearchFileResult
Re-exports SearchFileResult
SearchMatch
Re-exports SearchMatch
Selection
Re-exports Selection
SettingOption
Re-exports SettingOption
SettingType
Re-exports SettingType
SidebarPanelDef
Re-exports SidebarPanelDef
SidebarPanelHeader
Re-exports SidebarPanelHeader
SidebarSectionContent
Re-exports SidebarSectionContent
SidebarSectionContext
Re-exports SidebarSectionContext
SidebarSectionDef
Re-exports SidebarSectionDef
SidebarState
Re-exports SidebarState
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