Questions tagged [pylsp]

3 questions
0
votes
0 answers

Resolving Python Symbols with Wildcard Imports using python-lsp-server

I've been using the python-lsp-server to analyze a Python project and extract symbol definitions and references. The server works well for explicit imports, but I've encountered an issue when dealing with wildcard imports (import…
0
votes
0 answers

why pslsp is not returning correct definition?

I am asking for a go to definition request to pylsp using websockets. However, correct deifinition is not returned. Here is the definition_request: definition_request = { "jsonrpc": "2.0", "id": 2, "method": "textDocument/definition", …
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: …