3 ms·
Imagine what you could do if error messages didn't have to appear as plain text. You could have arrows, lines, shaded areas, and even multiple fonts.
by Animats 10y ago
Imagine what you could do if error messages didn't have to appear as plain text. You could have arrows, lines, shaded areas, and even multiple fonts.
- dikaiosune 10y agoThere's some ongoing work in that area that may be relevant: https://github.com/nrc/rustw https://github.com/nrc/rustw
- taneq 10y agoWhat would this gain us, other than visual clutter and compatibility issues between IDEs?
- Animats 10y agoBetter ways to display non-local problems. Rust's borrow checker detects many errors that reflect inconsistency between two places far apart in code. This is hard to display.
- kibwen 10y agoEvery error has a JSON representation, which any tool can receive and display it whatever way it chooses.
- outworlder 10y agoSomething like this? https://images.duckduckgo.com/iu/?u=http%3A%2F%2Fi.stack.imgur.com%2FKcSdb.jpg&f=1 https://images.duckduckgo.com/iu/?u=http%3A%2F%2Fi.stack.img...