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