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
Cannot get server to respond to Initialize request #708
Comments
@mtangoo I don't understand what you mean by:
Did you send a request and the server sent you back an empty JSON or something? I suggest you show the exact output of everything in your Python script. I would also suggest truncating your code to not send such a big a payload to In any case, from a cursory glance I get the feeling that your message isn't including a The following is taken from the specification:
|
I mean the result of print is empty.
Oh! my bad. How did I miss that? Let me add these and comment back |
@rcjsuen that was it. I have added the header and all is well now. Thank you |
I'm toying around LSP and I cannot get past first stage. Am using Python as client language since it is simple to work with. All I do is:
I have tried everything I could and read whatever I could find but I had no success. I hope for someone more conversant with LSP to help me pointing out what am doing wrong.
Here is the JSON
Here is my full Python code. I tried with PHP Language Server but shouldn't matter the kind of server used.
I apologize if the policy is for reporting bugs only here. I read some issues asking qustions, so I assumed I can ask questions here!
The text was updated successfully, but these errors were encountered: