-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Colour coded error messages #50019
Copy link
Copy link
Open
Labels
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featureThis means we'd like to hear from more people who would be helped by this featureSuggestionAn idea for TypeScriptAn idea for TypeScript
Metadata
Metadata
Assignees
Labels
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featureThis means we'd like to hear from more people who would be helped by this featureSuggestionAn idea for TypeScriptAn idea for TypeScript
Type
Fields
Give feedbackNo fields configured for issues without a type.
Suggestion
Typescript error messages can be a bit verbose sometimes. Color coding them and formatting them better (in reference to #45896) would greatly improve their readabillity.
🔍 Search Terms
Colour code, color code, syntax highlighting, formatter, error messages
✅ Viability Checklist
My suggestion meets these guidelines:
⭐ Suggestion
A plus:
Colour coded visual difference for type errors, for example when unions do not match or a required property is missing.
📃 Motivating Example
Images speak a thousand lines of code (I messed up the formatting a bit. I did this by hand in an online tool..)


💻 Use Cases
Overall useful as current error messages are hard to read, especially with big complex types.