Skip to main content

tabStore

MS Code Extension API


MS Code Extension API / store/tabStore

store/tabStore

Interfaces

Tab

Defined in: store/tabStore.ts:10

Defines the schema for a workspace tab.

Properties

diffData?

optional diffData?: object

Defined in: store/tabStore.ts:19

filePath

filePath: string

modifiedContent

modifiedContent: string | null

originalContent

originalContent: string

readOnly

readOnly: boolean

filePath?

optional filePath?: string

Defined in: store/tabStore.ts:14

icon?

optional icon?: string

Defined in: store/tabStore.ts:15

id

id: string

Defined in: store/tabStore.ts:11

showBreadcrumb?

optional showBreadcrumb?: boolean

Defined in: store/tabStore.ts:18

showQuickBar?

optional showQuickBar?: boolean

Defined in: store/tabStore.ts:16

showStatusBar?

optional showStatusBar?: boolean

Defined in: store/tabStore.ts:17

title

title: string

Defined in: store/tabStore.ts:13

type

type: "code" | "extension" | "page" | "settings" | "image" | "welcome" | "termis" | "keybindings" | "diff"

Defined in: store/tabStore.ts:12

Variables

useTabStore

const useTabStore: UseBoundStore<StoreApi<TabState>>

Defined in: store/tabStore.ts:53

Global store for managing active workspace tabs, active selection, and history.