Skip to content

Commit

Permalink
docs: remove useless merge info
Browse files Browse the repository at this point in the history
  • Loading branch information
wewoor committed Dec 6, 2021
1 parent d983af8 commit 10b629e
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,13 +201,8 @@ export class TerminalExtension implements IExtension {

`activate` 方法中,利用 [`molecule.panel.add`](/docs/api/interfaces/molecule.IPanelService#add)`terminalPanel` 添加到 Panel 视图中。

<<<<<<< HEAD
完整代码请参考[Terminal](https://github.com/DTStack/molecule-examples/tree/main/packages/molecule-demo/src/extensions/terminal)
=======
完整代码请参考 [Terminal](https://github.com/DTStack/molecule-examples/tree/main/packages/molecule-demo/src/extensions/terminal)

> > > > > > > 720fedf8348b337d766fd7ea38d3c1c80356c556
### [状态栏(StatusBar)](/docs/api/interfaces/molecule.IStatusBarService)

[状态栏(StatusBar)](/docs/api/interfaces/molecule.IStatusBarService) 整个是围绕 [IStatusBarItem](/docs/api/interfaces/molecule.models.IStatusBarItem) 类型的对象来进行**增加、更新、删除**等基本操作的,例如:
Expand Down Expand Up @@ -268,13 +263,8 @@ dispose(extensionCtx: IExtensionService): void {
```

上例中,我们在**文件(File)**下新增了一个菜单项 **Create Data Source**,移除则使用 `molecule.menuBar.remove` 方法。如果想重置所有 MenuBar 的数据,
<<<<<<< HEAD
可以使用 [`molecule.menuBar.setMenus()` ](/docs/api/interfaces/molecule.IMenuBarService#setmenus)
=======
可以使用 [`molecule.menuBar.setMenus` ](/docs/api/interfaces/molecule.IMenuBarService#setmenus)

> > > > > > > 720fedf8348b337d766fd7ea38d3c1c80356c556
更多关于 MenuBar 的操作,请查看 [MenuBar API](/docs/api/interfaces/molecule.IMenuBarService) 文档。

[workbench-url]: /docs/api/namespaces/molecule#workbench
Expand Down

0 comments on commit 10b629e

Please sign in to comment.