diff --git a/src/vs/workbench/browser/parts/editor/breadcrumbsControl.ts b/src/vs/workbench/browser/parts/editor/breadcrumbsControl.ts index c8a2110bfd2de169004df7282d51d706fb3ff867..e2fdd803f151589b4ca1d5b7ae6218b0eda36a64 100644 --- a/src/vs/workbench/browser/parts/editor/breadcrumbsControl.ts +++ b/src/vs/workbench/browser/parts/editor/breadcrumbsControl.ts @@ -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); } }