Zulip Chat Archive
Stream: lean4
Topic: rfc: on hover, show the type before the error
Kenny Lau (Oct 08 2025 at 14:55):
When there is an error, when you hover over it, the error is showed before the information related to the declaration, which sometimes makes it more annoying to diagnose and fix the error. I think it's enough that the error is displayed on the right hand side, so on the hover window maybe we can show the type first?
axiom foo1 : Nat → Int
axiom foo2 : Nat → Nat
example bar : foo2 (foo1 1) = 0 :=
Marc Huisinga (Oct 08 2025 at 15:06):
#lean4 > [Mouseover pop-up] show type above error @ 💬
Kenny Lau (Oct 08 2025 at 15:07):
hmm, that's quite unfortunate
Last updated: Dec 20 2025 at 21:32 UTC