Replies: 3 comments
-
|
Converting to a discussion topic. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Pyright is leveraged by LSP plugins for several clients including emacs and vim. I recommend checking out those as templates for what you want to do. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I encountered the same problem. How did you solve it later |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I would like to use Pyright outside the VSCode as a service that after I start the language server, I can send requests mannually which follow the language server protocal and get the response I need.
I guess the command I need is
pyright-langserverbut it seems lack a documentation for how to use it. I trypyright-langserver --socket=8080but it just returnSending log message failed.I notice that for python language server like
https://github.com/python-lsp/python-lsp-server, it can be started by command-line to bind the server to a port and we can send and receive messages from that port by socket. I wonder ifpyrighthas similar functionality.Thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions