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

don't show title for symbol, #54747

上级 b1f7de5b
......@@ -76,9 +76,9 @@ class Item extends BreadcrumbsItem {
let label = this._instantiationService.createInstance(FileLabel, container, {});
label.setFile(this.element.uri, {
hidePath: true,
fileKind: this.element.isFile ? FileKind.FILE : FileKind.FOLDER,
hideIcon: !this.element.isFile || !this.options.showFileIcons,
fileDecorations: { colors: this.options.showDecorationColors, badges: false }
fileKind: this.element.isFile ? FileKind.FILE : FileKind.FOLDER,
fileDecorations: { colors: this.options.showDecorationColors, badges: false },
});
this._disposables.push(label);
dom.toggleClass(container, 'file', this.element.isFile);
......@@ -105,7 +105,7 @@ class Item extends BreadcrumbsItem {
}
let label = new IconLabel(container);
let title = this.element.symbol.name.replace(/\r|\n|\r\n/g, '\u23CE');
label.setValue(title, undefined, { title });
label.setValue(title);
this._disposables.push(label);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册