Zulip Chat Archive

Stream: new members

Topic: opened folder is not a valid lean4 project


stark (Jan 16 2024 at 08:06):

I followed the tutorial in https://leanprover-community.github.io/install/project.html. But when I open the .lean file in subfolder 'MyProject' , the lean4 extension warns that 'Opened folder is not a valid Lean 4 project. Please open a valid Lean 4 project containing a 'lean-toolchain' file for full functionality.'

stark (Jan 16 2024 at 08:06):

there is already lean-toolchain in my_project

Yaël Dillies (Jan 16 2024 at 08:08):

Are you sure you opened the folder containing lean-toolchain and not a parent folder?

stark (Jan 16 2024 at 08:16):

Yaël Dillies said:

Are you sure you opened the folder containing lean-toolchain and not a parent folder?

That's it. Thanks


Last updated: May 02 2025 at 03:31 UTC