提交 55773981 编写于 作者: M Matt Bierner

Add "code" to copied marker metadata info

Fixes #36449
上级 4d09bef3
......@@ -58,11 +58,14 @@ export class Marker {
}
public toString(): string {
return [`file: '${this.marker.resource}'`,
`severity: '${Severity.toString(this.marker.severity)}'`,
`message: '${this.marker.message}'`,
`at: '${this.marker.startLineNumber},${this.marker.startColumn}'`,
`source: '${this.marker.source ? this.marker.source : ''}'`].join('\n');
return [
`file: '${this.marker.resource}'`,
`severity: '${Severity.toString(this.marker.severity)}'`,
`message: '${this.marker.message}'`,
`at: '${this.marker.startLineNumber},${this.marker.startColumn}'`,
`source: '${this.marker.source ? this.marker.source : ''}'`,
`code: '${this.marker.code ? this.marker.code : ''}'`
].join('\n');
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册