未验证 提交 dda0e26c 编写于 作者: A Alex Ross 提交者: GitHub

Don't allow remote explorer views to move out of the container (#108105)

Fixes #108008
上级 48ca6d9f
......@@ -488,7 +488,7 @@ class ViewsExtensionHandler implements IWorkbenchContribution {
containerIcon: icon || viewContainer?.icon,
containerTitle: item.contextualTitle || viewContainer?.name,
canToggleVisibility: true,
canMoveView: true,
canMoveView: viewContainer?.id !== REMOTE,
treeView: type === ViewType.Tree ? this.instantiationService.createInstance(CustomTreeView, item.id, item.name) : undefined,
collapsed: this.showCollapsed(container) || initialVisibility === InitialVisibility.Collapsed,
order: order,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册