Skip to main content
Version: Next

Namespace: molecule

Namespaces

Classes

Interfaces

References

IActivityBar

Re-exports IActivityBar


IActivityBarItem

Re-exports IActivityBarItem


IEditor

Re-exports IEditor


IEditorGroup

Re-exports IEditorGroup


IMenuBar

Re-exports IMenuBar


INotification

Re-exports INotification


INotificationItem

Re-exports INotificationItem


IPanel

Re-exports IPanel


IProblems

Re-exports IProblems


IProblemsItem

Re-exports IProblemsItem


ISidebar

Re-exports ISidebar


IStatusBar

Re-exports IStatusBar


IStatusBarItem

Re-exports IStatusBarItem


IWorkbench

Re-exports IWorkbench

Type Aliases

BuiltInSettingsTabType

Ƭ BuiltInSettingsTabType: ReturnType<typeof modules.BuiltInSettingsTab>

Defined in

services/settingsService.ts:21


IBuiltinProps

Ƭ IBuiltinProps: IBuiltinModuleProps & IBuiltinConstantProps

Defined in

services/builtinService/index.ts:23

Variables

activityBar

Const activityBar: IActivityBarService

The activityBar service

Defined in

molecule.api.ts:68


auxiliaryBar

Const auxiliaryBar: IAuxiliaryBarService

Defined in

molecule.api.ts:71


builtin

Const builtin: BuiltinService

Defined in

molecule.api.ts:105


colorTheme

Const colorTheme: IColorThemeService

The ColorTheme service

Defined in

molecule.api.ts:97


editor

Const editor: IEditorService

Defined in

molecule.api.ts:86


editorTree

Const editorTree: IEditorTreeService

Defined in

molecule.api.ts:80


explorer

Const explorer: IExplorerService

Defined in

molecule.api.ts:74


extension

Const extension: IExtensionService

The Extension service

Defined in

molecule.api.ts:110


folderTree

Const folderTree: IFolderTreeService

Defined in

molecule.api.ts:77


i18n

Const i18n: ILocaleService

The locale service

Defined in

molecule.api.ts:58


layout

Const layout: ILayoutService

The layout service

Defined in

molecule.api.ts:63


Const menuBar: IMenuBarService

Defined in

molecule.api.ts:85


monacoService

Const monacoService: IMonacoService

Defined in

molecule.api.ts:112


notification

Const notification: INotificationService

Defined in

molecule.api.ts:89


panel

Const panel: IPanelService

Defined in

molecule.api.ts:88


problems

Const problems: IProblemsService

Defined in

molecule.api.ts:92


Const search: ISearchService

Defined in

molecule.api.ts:83


settings

Const settings: ISettingsService

The Settings service

Defined in

molecule.api.ts:103


Const sidebar: ISidebarService

Defined in

molecule.api.ts:84


statusBar

Const statusBar: IStatusBarService

Defined in

molecule.api.ts:87

Functions

ActivityBar

ActivityBar(props): Element

Parameters

NameType
propsIActivityBar & IActivityBarController

Returns

Element

Defined in

workbench/activityBar/activityBar.tsx:22


ActivityBarItem

ActivityBarItem(props): Element

Parameters

NameType
propsIActivityBarItem & IActivityBarController

Returns

Element

Defined in

workbench/activityBar/activityBarItem.tsx:17


Editor

Editor(props): Element

Parameters

NameType
props{ editor?: IEditor ; layout?: ILayout } & IEditorController

Returns

Element

Defined in

workbench/editor/editor.tsx:14


EditorGroup

EditorGroup(props): Element

Parameters

NameType
propsIEditorGroupProps & IEditorController

Returns

Element

Defined in

workbench/editor/group.tsx:24


MenuBar(props): Element

Parameters

NameType
propsIMenuBar & IMenuBarController

Returns

Element

Defined in

workbench/menuBar/menuBar.tsx:15


Panel

Panel(props): Element

Parameters

NameType
propsIPanel & IPanelController

Returns

Element

Defined in

workbench/panel/panel.tsx:13


Sidebar(props): Element

Parameters

NameType
propsISidebar

Returns

Element

Defined in

workbench/sidebar/sidebar.tsx:33


StatusBar

StatusBar(props): Element

Parameters

NameType
propsIStatusBar & IStatusBarController

Returns

Element

Defined in

workbench/statusBar/statusBar.tsx:18


StatusItem

StatusItem(props): Element

Parameters

NameType
propsIStatusBarItem<any> & IStatusBarController

Returns

Element

Defined in

workbench/statusBar/item.tsx:8


Workbench

Workbench(props): Element

Parameters

NameType
propsIWorkbench & ILayout & ILayoutController

Returns

Element

Defined in

workbench/workbench.tsx:54


localize

localize(sourceKey, defaultValue, ...args): any

Returns the international text located by source key,or the default value if it is not find For examples:

localize('id','default value'); // hello ${i}, ${i}
localize('id','default value', 'world'); // hello world, ${i}
localize('id','default value', 'world', 'molecule'); // hello world, molecule

Parameters

NameTypeDescription
sourceKeystringThe key value located in the source international text
defaultValuestringThe default value to be used when not find the international text
...argsstring[]If provided, it will used as the values to be replaced in the international text

Returns

any

Defined in

i18n/localize.tsx:24