提交 4bdd4e2d 编写于 作者: J Johannes Rieken

nuke historic unoffical way of formatting error messages

上级 31d16921
......@@ -148,16 +148,6 @@ class ModelMarkerHandler {
message = nls.localize('sourceAndDiagMessage', "[{0}] {1}", source, message);
}
hoverMessage = [textAsCodeBlock(message)];
} else if (message) {
// this some old undocumented trick to get
// formatted error messages. no clue if we still
// have a need for that
hoverMessage = source ? [`[${marker.source}] `] : [];
if (Array.isArray(message)) {
hoverMessage.push(...(<any> message));
} else {
hoverMessage.push(message);
}
}
return {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册