Feature Request: Add Syntax Highlighting for Semantic TypeScript Diagnostics #100742
Labels
*duplicate
Issue identified as a duplicate of another issue(s)
languages-diagnostics
Source problems reporting
It is very hard to see what is going on given this error message:
If VS Code's markdown support could be used in those semantic diagnostics, types could be put in code blocks. This would increase readability significantly.
I suggest the following rule:
Treat everything in TS error messages enclosed with ' as code (in the following
$code
). If$code
is shorter than 15 characters, emit it as`$code`
, otherwise asOf course this makes the assumption that the formatting of types is consistent and typescript does not nest
'
in its error messages. String literal types use"
.If you point me to the central code locations that might need to be touched, I can try to create a PR for this.
The text was updated successfully, but these errors were encountered: