diff --git a/packages/editor/src/browser/editor-widget-factory.ts b/packages/editor/src/browser/editor-widget-factory.ts index e0ed07d5e2dc0..4e07734147435 100644 --- a/packages/editor/src/browser/editor-widget-factory.ts +++ b/packages/editor/src/browser/editor-widget-factory.ts @@ -50,7 +50,7 @@ export class EditorWidgetFactory implements WidgetFactory { newEditor.title.closable = true; newEditor.title.label = this.labelProvider.getName(uri); newEditor.title.iconClass = icon + ' file-icon'; - newEditor.title.caption = this.labelProvider.getLongName(uri); + newEditor.title.caption = uri.path.toString(); return newEditor; }); }