2021-12-08 21:54:26 +03:00
|
|
|
# Tabby Core Plugin
|
2019-03-07 03:51:15 +03:00
|
|
|
|
2021-12-08 21:54:26 +03:00
|
|
|
See also:
|
|
|
|
|
|
|
|
* [Settings plugin API](./settings/)
|
|
|
|
* [Terminal plugin API](./terminal/)
|
|
|
|
* [Local terminal API](./local/)
|
|
|
|
* [Linkifier plugin API](./linkifier/)
|
|
|
|
|
|
|
|
This module provides:
|
2019-03-07 20:04:03 +03:00
|
|
|
|
2019-03-07 03:51:15 +03:00
|
|
|
* tabbed interface services
|
|
|
|
* toolbar UI
|
|
|
|
* config file management
|
|
|
|
* hotkeys
|
|
|
|
* tab recovery
|
|
|
|
* logging
|
|
|
|
* theming
|
|
|
|
|
|
|
|
Using the API:
|
|
|
|
|
|
|
|
```ts
|
2021-06-30 00:57:04 +03:00
|
|
|
import { AppService, TabContextMenuItemProvider } from 'tabby-core'
|
2019-03-07 03:51:15 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
Exporting your subclasses:
|
|
|
|
|
|
|
|
```ts
|
|
|
|
@NgModule({
|
|
|
|
...
|
|
|
|
providers: [
|
|
|
|
...
|
|
|
|
{ provide: TabContextMenuItemProvider, useClass: MyContextMenu, multi: true },
|
|
|
|
...
|
|
|
|
]
|
|
|
|
})
|
|
|
|
```
|