-
Notifications
You must be signed in to change notification settings - Fork 48
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
Infoview should indicate when server is not started #114
Comments
Really? Mine says "Waiting for Lean server to start..." was this fixed recently perhaps? |
I think I hit that issue back when we didn't start a Lean server for some directories that didn't contain lakefiles. I still see a similar issue when the server is terminated manually: #155 |
It seems like another instance of this issue occurs when there are errors in |
Specifically: "part of the problem seems to be that when lakefile.lean contains errors, lake serve prints them e.g. like so
but then continues to execute the LSP server anyway. From the vscode extension's perspective, since it received no error code the server started up okay, and then this somehow leads to showing "Waiting" forever. Perhaps Lake should just exit with 1 at this point. /CC @Mac Mac: @wojciech Nawrocki this is actually a new feature, not a bug. See Lake #52. :stuck_out_tongue_wink: Wojciech Nawrocki: I see! Then vscode-lean4 should detect and handle this case. |
Fixed and merged on #159 |
Right now it shows "no info found" even if the server did not start.
The text was updated successfully, but these errors were encountered: