-
Notifications
You must be signed in to change notification settings - Fork 216
Try running pylsp script, can't output message and quit,what? #268
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
Comments
Hey @Hebe970217, thanks for reporting. I don't understand where you get the impression that this server can be configured through stdout like you're trying to do. This is its help:
|
Sorry,I watch java(jdtls) and c++(clangd) lps can to use, it's working. |
Sure, you can launch it in studio mode, but this server needs to be configured from the client. |
I tried to input my protocol file into stdin using stdio redirection symbols. It seems that it doesn't respond. Is there a problem with my protocol. Because I tried to pass an empty params, it seemed to exit directly. I havn't frontend same vscode, cause I development a IDE for now. |
The client starts because it needs to add a monitor for processID. I directly specify the ProcessId of a resident process. According to normal understanding, it can still start. I don't quite understand the difference between starting from client and terminal for u said. |
install step
pip3 install git+https://github.com/python-lsp/python-lsp-server.git
// less roottry running
cd ~/.local/bin && ./pylsp --log-file ./log <init.json
protocol init request text
init.txt
need save file suffix to json
Please help!
The text was updated successfully, but these errors were encountered: