python-language-server
python-language-server copied to clipboard
An implementation of the Language Server Protocol for Python
How do you set the conda environment for pyls? I'm using emacs and pyls only uses the base environment. I tried using conda-mode for changing the environment, but pyls still...
If I rename a function or variable in a document which contains a SytnaxError (or IndentationError, or anything else which causes the document not to be a valid Python source...
With the recent change to the new Jedi version I am starting to see crashes of the language server like this one: ``` 2018-05-02 14:59:24,937 UTC - ERROR - pyls.jsonrpc.endpoint...
BTW, the 3rd commit in this series ("Introduce pyls.extraSysPath configuration") will cover pull request #382
When doing a `textDocument/references` request, pyls only searches for references in the files that were sent via `textDocument/didOpen`. It should instead search the entire workspace that contains the file.
When trying pyls with nvim built-in LSP client and call ``lua vim.lsp.buf.type_definition()`` results with: ```vim Error executing vim.schedule lua callback: /usr/share/nvim/runtime/lua/vim/lsp/callbacks.lua: 223: RPC MethodNotFound message = "Method Not Found: textDocument/typeDefinition"...
Since importing `ujson` fails in a 3.7 pyenv virtualenv when 3.7 is not provided by the OS (it's the point of pyenv), the Python Language Server can't run there. I...
Notice how the label contains two signatures: ```json { "signatures": [ { "documentation": "int([x]) -> integer\nint(x, base=10) -> integer\n\nConvert a number or string to an integer, or return 0 if...
Would be possible to compile this package to webassembly using something like https://github.com/iodide-project/pyodide or https://github.com/pypyjs/pypyjs? This would make it trivial to include in vscode extensions or the monaco editor.