Zulip Chat Archive

Stream: lean4

Topic: Feature request: display namespace when clicking in infoview


Kenny Lau (Aug 19 2025 at 20:30):

namespace Foo

axiom test : Nat

theorem bar : test = 0 := by
  sorry

end Foo

image.png

Kenny Lau (Aug 19 2025 at 20:31):

When hovering over test in Line 3, the namespace Foo is displayed, but when one clicks on test that appears in the infoview, there is no way to get it to show Foo; my request is to have the printer show Foo.test when one clicks on it in the infoview

Robin Arnez (Aug 19 2025 at 20:35):

That would just mean set_option pp.fullNames true when you click on there I suppose

Robin Arnez (Aug 19 2025 at 20:35):

Yeah I also got annoyed at that a few times

Robin Arnez (Aug 19 2025 at 20:36):

The question is (for an application): Should this show when you click once or only when you click on the constant

Kenny Lau (Aug 19 2025 at 20:36):

once

Robin Arnez (Aug 19 2025 at 20:40):

So between these two:
Click once
Click twice
you'd choose the first one?

Kenny Lau (Aug 19 2025 at 20:40):

yes, but I don't really mind either way; either is better than the status quo

Kenny Lau (Aug 19 2025 at 22:00):

https://github.com/leanprover/lean4/issues/9992

Kenny Lau (Oct 14 2025 at 22:34):

so, I wanna revive this thread, how easy is this to implement?


Last updated: Dec 20 2025 at 21:32 UTC