Zulip Chat Archive
Stream: lean4
Topic: How to view Theorem Proving in Lean 4 in VSCode?
Ziyuan (Oct 14 2024 at 09:39):
I understand the book can be viewed in VSCode:
If you are reading the book inside of VS Code, you will see a button that reads "try it!" Pressing the button copies the example to your editor with enough surrounding context to make the code compile correctly...You can open this book on VS Code by using the command "Lean 4: Open Documentation View".
The problem is that I cannot find the command "Lean 4: Open Documentation View" (after installing the extension and git-clone-ing the book repository):
Screenshot 2024-10-14 123506.png
I can also run "Lean 4: Docs: Show Documentation Resources" and show the book in VSCode, but that just shows the book in an embedded browser without interactivity:
Screenshot 2024-10-14 123711.png
So what am I missing here?
Marc Huisinga (Oct 14 2024 at 09:41):
Ziyuan (Oct 14 2024 at 10:00):
Marc Huisinga said:
Good. So I searched in the wrong channel.
Last updated: May 02 2025 at 03:31 UTC