Using pyright-langserver with websocket proxy #5942
Unanswered
CarlOfHoly
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a front-end application which I want to talk with the pyright-langserver through a websocket proxy. I have set it up with
lsp-ws-proxy
and the command looks as follows:lsp-ws-proxy --listen 127.0.0.1:$PYRIGHT_PORT -- pyright-langserver --stdio
The connection works as expected, but I cannot seem to configure the langserver to correctly find my venv. Is there any way of configuring the venv path for pyright-langserver?
I have tried to utilize config files for pyright and checked that it successfully is find my packages within site-packages/ when ran with the
pyright
command.I have found out that the langserver is an internal module that is not supposed to be called like that, but this solution is so close to working that I have to give it a shot.
Let me know if you need any more information. Any help would be much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions