提交 c0802a73 编写于 作者: J Johannes Rieken

add meta title with direction - Calls/Callers

上级 431567e9
......@@ -292,7 +292,7 @@ export class CallHierarchyTreePeekWidget extends PeekViewWidget {
}
node = parent;
}
this.setMetaTitle(localize('meta', " – {0}", names.join('')));
this.setTitle(this._tree.getInput()!.name, names.join(''));
}
}));
......@@ -376,10 +376,9 @@ export class CallHierarchyTreePeekWidget extends PeekViewWidget {
if (!viewState) {
this._tree.setFocus([firstChild]);
}
this.setTitle(
item.name,
item.detail || '',
);
this.setMetaTitle(this._direction === CallHierarchyDirection.CallsFrom
? localize('callFrom', " – Calls")
: localize('callsTo', " – Callers"));
}
if (!this._changeDirectionAction) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册