I would love to see how a prototype of this would work. One difficulty to keep in mind is that, for a diff to work, you need to show both options side by side. And I am not sure if repeating what you typed wrong will be helpful. But someone has to play with those ideas before we are sure. :)
On Wed, Jan 19, 2022 at 7:05 PM Daniel Kukuła <daniel.k...@gmail.com> wrote: > ExUnit has this nice feature that it's showing the differences between the > expectation and result in different colors. It would be nice to have > something similar with the `did you mean suggestions`. > Rationale: > It's not the first time that when I made a typo and the compiler suggest > the right function/module I'm struggling to see the difference between my > code and the suggestions. With short strings it's easy but I got deeply > nested modules and sometimes it takes some time to spot the typo. > > -- > You received this message because you are subscribed to the Google Groups > "elixir-lang-core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to elixir-lang-core+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elixir-lang-core/5751b69a-1364-4419-8d8a-273252c9755an%40googlegroups.com > <https://groups.google.com/d/msgid/elixir-lang-core/5751b69a-1364-4419-8d8a-273252c9755an%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4KZsCqESUVo%3DJKxQiMeQOKNnsT6XY%3DH_9fDXtSJKEf%2BPw%40mail.gmail.com.