-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lean server launch directory #3589
Comments
Or maybe that would be totally wrong? Maybe it needs to scan bar and directories above for some special file? What's the best heuristic? Or should it be configurable somehow in some panel? I don't know exactly what to even implement here. |
I think the correct thing to do is to look for |
This is exactly what happens. (Under the hood, the emacs mode parses the output of |
I see, i.e. running (or an equivalent of)
|
I just ran into this today, and discovered the "put everything in the home directory" workaround. Thanks @PatrickMassot for pointing me here. Besides this, Lean is working really beautifully in cocalc (and I just subscribed for a 4 month course!) |
Here is a revised logic, which I think is what we should do.
|
Right now there is one lean server for all lean files, so a major architectural change would be needed too... |
REQUESTED BY>: Patrick Massot
I guess we would change things so when you create a foo.lean file in some directory bar, the lean server is launched in the directory bar. It seems like this should be a small somewhere around here:
https://github.com/sagemathinc/cocalc/blob/master/src/smc-project/lean/lean.ts#L68
The text was updated successfully, but these errors were encountered: