Zulip Chat Archive
Stream: lean4
Topic: Multiple Lean InfoViews in VScode?
Ching-Tsun Chou (Jul 24 2025 at 17:47):
I asked this question in the channel "new members" and no one replied (see this link). Perhaps I'll have more luck here?
I would like to have multiple InfoViews for the following reason: When I am working on a proof in file A, I may want to create a lemma in file B (which file A imports) that would be useful in the proof in A. It would be very convenient if I can look at the proof state in A while formulating the lemma in B. But this is impossible when there is only one InfoView window.
Martin Dvoลรกk (Jul 24 2025 at 18:25):
I recently learnt to open VS Code twice.
๐ ๐๐๐๐๐๐๐ ๐๐๐ ๐๐๐๐๐ (Jul 24 2025 at 18:26):
I don't think you can have multiple infoviews; for what you want, though, you could pin the tactic state in A so that it sticks around while you look at B.
Ching-Tsun Chou (Jul 24 2025 at 18:27):
Ah, thanks! I didn't know pinning works across files.
Last updated: Dec 20 2025 at 21:32 UTC