Zulip Chat Archive
Stream: lean4
Topic: Weird project names in VS Code
Anne Baanen (Jan 12 2024 at 11:15):
I had a few students, who are newcomers to Lean, who created projects in VS Code with unusual names. The error handling isn't optimal:
- project named "LEAN": terminal reports "error: reserved package name" but they still get a directory containing
Lean.lean
so they didn't realize there was an error - project named "demo.lean" and "My project": the extension keeps saying to restart the dependencies, but never building the files (but this doesn't replicate on my machine so unsure what specifically goes wrong)
Eric Wieser (Jan 12 2024 at 12:19):
There is a name resolution bug for project names containing periods that probably impacts demo.lean
, though it's fixed upstream as of a day or two ago
Eric Wieser (Jan 12 2024 at 12:19):
Of course the generated project will have pretty wonky names, but it should at least work
Last updated: May 02 2025 at 03:31 UTC