提交 52cf58a8 编写于 作者: I isidor

relative path for descriptions

上级 c7b4951b
......@@ -298,7 +298,7 @@ export class FileLabel extends ResourceLabel {
let description: string;
const hidePath = (options && options.hidePath) || (resource.scheme === Schemas.untitled && !this.untitledEditorService.hasAssociatedFilePath(resource));
if (!hidePath) {
description = this.uriDisplayService.getLabel(resources.dirname(resource));
description = this.uriDisplayService.getLabel(resources.dirname(resource), true);
}
this.setLabel({ resource, name, description }, options);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册