Namespace: molecule
Namespaces
Classes
- ActivityBarService
- BuiltinService
- ColorThemeService
- EditorService
- EditorTreeService
- ExplorerService
- ExtensionService
- FolderTreeService
- LayoutService
- LocaleService
- MenuBarService
- NotificationService
- PanelService
- ProblemsService
- SearchService
- SettingsService
- SidebarService
- StatusBarService
Interfaces
- IActivityBarController
- IActivityBarService
- IBuiltinService
- IColorThemeService
- IEditorController
- IEditorService
- IEditorTreeService
- IExplorerService
- IExtensionService
- IFolderTreeService
- ILayoutController
- ILayoutService
- ILocale
- ILocaleService
- ILocalizeProps
- IMenuBarController
- IMenuBarService
- INotificationController
- INotificationService
- IPanelController
- IPanelService
- IProblemsController
- IProblemsService
- ISearchService
- ISettingsController
- ISettingsService
- ISideBarController
- ISidebarService
- IStatusBarController
- IStatusBarService
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
builtin
• builtin: BuiltinService
Defined in
colorTheme
• colorTheme: IColorThemeService
The ColorTheme service
Defined in
editor
• editor: IEditorService
Defined in
editorTree
• editorTree: IEditorTreeService
Defined in
explorer
• explorer: IExplorerService
Defined in
extension
• extension: IExtensionService
The Extension service
Defined in
folderTree
• folderTree: IFolderTreeService
Defined in
i18n
• i18n: ILocaleService
The locale service
Defined in
layout
• layout: ILayoutService
The layout service
Defined in
menuBar
• menuBar: IMenuBarService
Defined in
notification
• notification: INotificationService
Defined in
panel
• panel: IPanelService
Defined in
problems
• problems: IProblemsService
Defined in
search
• search: ISearchService
Defined in
settings
• settings: ISettingsService
The Settings service
Defined in
sidebar
• sidebar: ISidebarService
Defined in
statusBar
• statusBar: IStatusBarService
Defined in
Functions
ActivityBar
▸ ActivityBar(props
): Element
Parameters
Name | Type |
---|---|
props | IActivityBar & IActivityBarController |
Returns
Element
Defined in
src/workbench/activityBar/activityBar.tsx:22
ActivityBarItem
▸ ActivityBarItem(props
): Element
Parameters
Name | Type |
---|---|
props | IActivityBarItem & IActivityBarController |
Returns
Element
Defined in
src/workbench/activityBar/activityBarItem.tsx:19
Editor
▸ Editor(props
): Element
Parameters
Name | Type |
---|---|
props | IEditor & IEditorController |
Returns
Element
Defined in
src/workbench/editor/editor.tsx:13
EditorGroup
▸ EditorGroup(props
): Element
Parameters
Name | Type |
---|---|
props | IEditorGroupProps & IEditorController |
Returns
Element
Defined in
src/workbench/editor/group.tsx:27
MenuBar
▸ MenuBar(props
): Element
Parameters
Name | Type |
---|---|
props | IMenuBar & IMenuBarController |
Returns
Element
Defined in
src/workbench/menuBar/menuBar.tsx:25
Panel
▸ Panel(props
): Element
Parameters
Name | Type |
---|---|
props | IPanel & IPanelController |
Returns
Element
Defined in
src/workbench/panel/panel.tsx:14
Sidebar
▸ Sidebar(props
): Element
Parameters
Name | Type |
---|---|
props | ISidebar |
Returns
Element
Defined in
src/workbench/sidebar/sidebar.tsx:33
StatusBar
▸ StatusBar(props
): Element
Parameters
Name | Type |
---|---|
props | IStatusBar & IStatusBarController |
Returns
Element
Defined in
src/workbench/statusBar/statusBar.tsx:18
StatusItem
▸ StatusItem(props
): Element
Parameters
Name | Type |
---|---|
props | IStatusBarItem <any > & IStatusBarController |
Returns
Element
Defined in
src/workbench/statusBar/item.tsx:8
Workbench
▸ Workbench(props
): Element
Parameters
Name | Type |
---|---|
props | IWorkbench & 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
Name | Type | Description |
---|---|---|
sourceKey | string | The key value located in the source international text |
defaultValue | string | The default value to be used when not find the international text |
...args | string [] | If provided, it will used as the values to be replaced in the international text |
Returns
any