Questions tagged [python-lsp-server]

3 questions
2
votes
0 answers

pylsp can't find installed editable packages

The problem is fairly straightforward: pylsp can't deal with editable packages. To create an environment that reproduces my problem: $ mkdir /tmp/pyslp_test $ cd /tmp/pylsp_test $ echo "import jaxtyping" > script.py $ mkdir editable_packages $ git…
0
votes
0 answers

why pylsp is not returning any response?

I started pylsp with pylsp --verbose --tcp --host 127.0.0.1 --port 9999 Now I connected to it with following python code: import json import socket def send_request(request): with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock: …
-1
votes
0 answers

how to run python-lsp-server to find references?

Can I run a lsp client to find references programatically? I know as python-lap-server is a language server as theoreticallty I can connect to pylance and extract references from a function call is invoked. For example for the following code: import…
Exploring
  • 2,493
  • 11
  • 56
  • 97