Zulip Chat Archive
Stream: lean4
Topic: Goto definition for Lean.Elab in vscode
Rikiya Kashiwagi (Jan 19 2024 at 07:38):
VSCode's goto definition for Lean.Elab, such as "def" keyword or "→" symbol helps me so much explore the Lean's parser and macro system. However, some files can do that and some cannnot under the same settings. Do you have any ideas of the problem?
Mario Carneiro (Jan 19 2024 at 08:03):
You have to have the relevant files imported, meaning import Lean
at the top of the file should do the trick
Rikiya Kashiwagi (Jan 19 2024 at 10:53):
Ah, I see. that's hard to figure out by myself.
Thanks!
Last updated: May 02 2025 at 03:31 UTC