-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] 按照文档示例修改无法移除 Terminal menu 终端菜单项 #131
Comments
@bytemain 帮忙看看 |
用 removeMenubarItem:
|
@bytemain 非常感谢!用这个方法 removeMenubarItem 可以了,文档多久会更新一次? |
我们稍后就把这个信息更新到文档中,感谢反馈 |
可以参考下 codeblitz 纯前端方案中中移除terminal的方法 主要 具体可以在 https://github.com/opensumi/codeblitz 这里搜索 terminal 关键词 |
这个先 open 吧,后面我们修改文档后再关掉 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
按照文档示例修改无法移除 Terminal menu 终端菜单项
复现路径(To Reproduce)
按照以下示例和代码修改无法移除 Terminal menu 终端菜单项
https://opensumi.com/en/docs/integrate/universal-integrate-case/custom-menu
import { BrowserModule } from '@opensumi/ide-core-browser';
import { Domain } from '@opensumi/ide-core-browser';
import { MenuContribution, IMenuRegistry, MenuId } from '@opensumi/ide-core-browser/lib/menu/next';
@Injectable()
@Domain(MenuContribution)
export class MenuBarContribution implements MenuContribution {
registerMenus(registry: IMenuRegistry): void {
}
预期表现(Expected behavior)
移除 Terminal menu 终端菜单项
环境信息(Environment)
The text was updated successfully, but these errors were encountered: