提交 6b0b56e3 编写于 作者: J Johannes Rieken

first read basename, then full filepath

上级 f8eb2fa3
......@@ -66,7 +66,7 @@ export class OneReference {
public getAriaMessage(): string {
return localize(
'aria.oneReference', "symbol in {0} on line {1} at column {2}",
this.uri.fsPath, this.range.startLineNumber, this.range.startColumn
basename(this.uri.fsPath), this.range.startLineNumber, this.range.startColumn
);
}
}
......@@ -154,9 +154,9 @@ export class FileReferences implements IDisposable {
getAriaMessage(): string {
const len = this.children.length;
if (len === 1) {
return localize('aria.fileReferences.1', "1 symbol in {0}", this.uri.fsPath);
return localize('aria.fileReferences.1', "1 symbol in {0}, full path {1}", basename(this.uri.fsPath), this.uri.fsPath);
} else {
return localize('aria.fileReferences.N', "{0} symbols in {1}", len, this.uri.fsPath);
return localize('aria.fileReferences.N', "{0} symbols in {1}, full path {2}", len, basename(this.uri.fsPath), this.uri.fsPath);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册