Skip to main content

modules/window/tab

Interfaces

Tab

Defined in: modules/window/tab.d.ts:17

Defines the schema for a workspace tab.

Properties

diffData?

optional diffData?: TabDiffData

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

Configuration for diff views (Split Editor).

filePath?

optional filePath?: string

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

The underlying file path, if applicable.

icon?

optional icon?: string

Defined in: modules/window/tab.d.ts:27

Codicon name to display next to the tab title.

id

id: string

Defined in: modules/window/tab.d.ts:19

Unique identifier for the tab (usually the file path).

showBreadcrumb?

optional showBreadcrumb?: boolean

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

Whether to show the breadcrumb navigation.

showQuickBar?

optional showQuickBar?: boolean

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

Whether to show the editor's quick action bar.

showStatusBar?

optional showStatusBar?: boolean

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

Whether to show the bottom status bar for this tab.

title

title: string

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

The display name of the tab.

type

type: string

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

The fundamental type/category of the tab.


TabDiffData

Defined in: modules/window/tab.d.ts:5

Properties

filePath

filePath: string

Defined in: modules/window/tab.d.ts:9

modifiedContent

modifiedContent: string | null

Defined in: modules/window/tab.d.ts:7

originalContent

originalContent: string

Defined in: modules/window/tab.d.ts:6

readOnly

readOnly: boolean

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


TabOptions

Defined in: modules/window/tab.d.ts:39

Configuration required to open a new tab.

Extends

Properties

diffData?

optional diffData?: TabDiffData

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

Configuration for diff views (Split Editor).

Inherited from

Tab.diffData

filePath?

optional filePath?: string

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

The underlying file path, if applicable.

Inherited from

Tab.filePath

icon?

optional icon?: string

Defined in: modules/window/tab.d.ts:27

Codicon name to display next to the tab title.

Inherited from

Tab.icon

id

id: string

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

Unique identifier for the tab (usually the file path).

Overrides

Tab.id

showBreadcrumb?

optional showBreadcrumb?: boolean

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

Whether to show the breadcrumb navigation.

Inherited from

Tab.showBreadcrumb

showQuickBar?

optional showQuickBar?: boolean

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

Whether to show the editor's quick action bar.

Inherited from

Tab.showQuickBar

showStatusBar?

optional showStatusBar?: boolean

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

Whether to show the bottom status bar for this tab.

Inherited from

Tab.showStatusBar

title

title: string

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

The display name of the tab.

Overrides

Tab.title

type

type: string

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

The fundamental type/category of the tab.

Overrides

Tab.type

Type Aliases

TabType

TabType = "code" | "extension" | "page" | "settings" | "image" | "welcome" | "termis" | "keybindings" | "diff" | "custom" | string

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

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


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


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