提交 15f38fe3 编写于 作者: A Alex Ross

Fix ports view order in remote explorer

Fixes #111830
上级 a63786db
......@@ -574,7 +574,7 @@ Registry.as<IViewContainersRegistry>(Extensions.ViewContainersRegistry).register
matches = /^details(@(\d+))?$/.exec(group);
if (matches) {
return -500;
return -500 + Number(matches[2]);
}
matches = /^help(@(\d+))?$/.exec(group);
......
......@@ -729,7 +729,10 @@ export class TunnelPanelDescriptor implements IViewDescriptor {
readonly canToggleVisibility = true;
readonly hideByDefault = false;
readonly workspace = true;
// group is not actually used for views that are not extension contributed. Use order instead.
readonly group = 'details@0';
// -500 comes from the remote explorer viewOrderDelegate
readonly order = -500;
readonly remoteAuthority?: string | string[];
readonly canMoveView = true;
readonly containerIcon = Codicon.plug;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册