-
Notifications
You must be signed in to change notification settings - Fork 30
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
Tips / Pointers for adding support for Lean4 LSP? #23
Comments
Hi @FruitfulApproach , I have shared some general guidelines for adding new language support in #5. I would be glad to discuss any further details that you would like about implementing support for a new language server in multilspy. For Lean4 specifically, I believe the following existing lean4 clients should provide good starting points:
|
Hi @LakshyAAAgrawal :) How would we go about attaching it to a VSCode/Lean4 plugin's LSP instance? I'm very new to LSP protocol. So I will read up on it first. The goal would be to "see everything" that the Lean4 info-view sees as you type in Lean4 code in addition to the "static analysis" mentioned on this repo's front page. Would that be possible with this library? Also, I've already started editing the code. I created a test_multilspy_lean4.py and got it to debug as a Pytest in Wing Pro ide. Question is what would be a good test repository to use? Do you think the Thank you. |
Hi @FruitfulApproach ,
You will have to find the command that launches the Lean4 LSP. I believe that the documentation for Lean4 that I linked should be helpful. If I was doing this, I would install Lean4, and simply run something like Once you have the command to launch the server, it should be easy to follow the steps provided in #5 . Please feel free to contact me over this thread at any step, and I would be glad to help to my best capability. I apologize again for not being able to take this up myself right now.
One way to determine this would be:
That is exciting! Thanks a lot for starting the exploration. Any repository written in lean4, that can be verified with lean4 as a project should be a good testcase! I believe |
Hi,
I'm needing to communicate with the Lean4 LSP. Can you point me to any helpful resources?
Thanks.
The text was updated successfully, but these errors were encountered: