Skip to main content
Version: 0.9.0-beta.2

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

src/services/settingsService.ts:21


IBuiltinProps

Ƭ IBuiltinProps: IBuiltinModuleProps & IBuiltinConstantProps

Defined in

src/services/builtinService/index.ts:23

Variables

activityBar

activityBar: IActivityBarService

The activityBar service

Defined in

src/molecule.api.ts:66


builtin

builtin: BuiltinService

Defined in

src/molecule.api.ts:106


colorTheme

colorTheme: IColorThemeService

The ColorTheme service

Defined in

src/molecule.api.ts:97


editor

editor: IEditorService

Defined in

src/molecule.api.ts:85


editorTree

editorTree: IEditorTreeService

Defined in

src/molecule.api.ts:78


explorer

explorer: IExplorerService

Defined in

src/molecule.api.ts:70


extension

extension: IExtensionService

The Extension service

Defined in

src/molecule.api.ts:111


folderTree

folderTree: IFolderTreeService

Defined in

src/molecule.api.ts:74


i18n

i18n: ILocaleService

The locale service

Defined in

src/molecule.api.ts:56


layout

layout: ILayoutService

The layout service

Defined in

src/molecule.api.ts:61


menuBar: IMenuBarService

Defined in

src/molecule.api.ts:84


notification

notification: INotificationService

Defined in

src/molecule.api.ts:88


panel

panel: IPanelService

Defined in

src/molecule.api.ts:87


problems

problems: IProblemsService

Defined in

src/molecule.api.ts:92


search: ISearchService

Defined in

src/molecule.api.ts:82


settings

settings: ISettingsService

The Settings service

Defined in

src/molecule.api.ts:104


sidebar: ISidebarService

Defined in

src/molecule.api.ts:83


statusBar

statusBar: IStatusBarService

Defined in

src/molecule.api.ts:86

Functions

ActivityBar

ActivityBar(props): Element

Parameters

NameType
propsIActivityBar & IActivityBarController

Returns

Element

Defined in

src/workbench/activityBar/activityBar.tsx:22


ActivityBarItem

ActivityBarItem(props): Element

Parameters

NameType
propsIActivityBarItem & IActivityBarController

Returns

Element

Defined in

src/workbench/activityBar/activityBarItem.tsx:19


Editor

Editor(props): Element

Parameters

NameType
propsIEditor & IEditorController

Returns

Element

Defined in

src/workbench/editor/editor.tsx:13


EditorGroup

EditorGroup(props): Element

Parameters

NameType
propsIEditorGroupProps & IEditorController

Returns

Element

Defined in

src/workbench/editor/group.tsx:27


MenuBar(props): Element

Parameters

NameType
propsIMenuBar & IMenuBarController

Returns

Element

Defined in

src/workbench/menuBar/menuBar.tsx:25


Panel

Panel(props): Element

Parameters

NameType
propsIPanel & IPanelController

Returns

Element

Defined in

src/workbench/panel/panel.tsx:14


Sidebar(props): Element

Parameters

NameType
propsISidebar

Returns

Element

Defined in

src/workbench/sidebar/sidebar.tsx:33


StatusBar

StatusBar(props): Element

Parameters

NameType
propsIStatusBar & IStatusBarController

Returns

Element

Defined in

src/workbench/statusBar/statusBar.tsx:18


StatusItem

StatusItem(props): Element

Parameters

NameType
propsIStatusBarItem<any> & IStatusBarController

Returns

Element

Defined in

src/workbench/statusBar/item.tsx:8


Workbench

Workbench(props): Element

Parameters

NameType
propsIWorkbench & ILayout & ILayoutController

Returns

Element

Defined in

src/workbench/workbench.tsx:53


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

src/i18n/localize.tsx:24