Skip to content

Commit 52cf58a

Browse files
committed
relative path for descriptions
1 parent c7b4951 commit 52cf58a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/browser/labels.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ export class FileLabel extends ResourceLabel {
298298
let description: string;
299299
const hidePath = (options && options.hidePath) || (resource.scheme === Schemas.untitled && !this.untitledEditorService.hasAssociatedFilePath(resource));
300300
if (!hidePath) {
301-
description = this.uriDisplayService.getLabel(resources.dirname(resource));
301+
description = this.uriDisplayService.getLabel(resources.dirname(resource), true);
302302
}
303303

304304
this.setLabel({ resource, name, description }, options);

0 commit comments

Comments
 (0)