提交 9a8f8671 编写于 作者: M Matt Bierner

Use `name` for custom editor title for data uri resources

Fixes #81791
上级 096eb643
......@@ -86,11 +86,17 @@ export class CustomFileEditorInput extends WebviewInput {
@memoize
private get mediumTitle(): string {
if (this.getResource().scheme === Schemas.data) {
return this.getName();
}
return this.labelService.getUriLabel(this.getResource(), { relative: true });
}
@memoize
private get longTitle(): string {
if (this.getResource().scheme === Schemas.data) {
return this.getName();
}
return this.labelService.getUriLabel(this.getResource());
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册