mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
fixes #114908
This commit is contained in:
parent
bb226913c5
commit
3da5786161
|
@ -4,7 +4,7 @@
|
|||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { URI } from 'vs/base/common/uri';
|
||||
import { dirname, isEqual, basenameOrAuthority } from 'vs/base/common/resources';
|
||||
import { dirname, isEqual } from 'vs/base/common/resources';
|
||||
import { IconLabel, IIconLabelValueOptions, IIconLabelCreationOptions } from 'vs/base/browser/ui/iconLabel/iconLabel';
|
||||
import { IModeService } from 'vs/editor/common/services/modeService';
|
||||
import { IWorkspaceContextService } from 'vs/platform/workspace/common/workspace';
|
||||
|
@ -379,7 +379,7 @@ class ResourceLabelWidget extends IconLabel {
|
|||
}
|
||||
|
||||
if (!name) {
|
||||
name = basenameOrAuthority(resource);
|
||||
name = this.labelService.getUriBasenameLabel(resource);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue