python-language-server
python-language-server copied to clipboard
An implementation of the Language Server Protocol for Python
Python2 reached its EOL. Will `pyls` continue to support it? [Jedi already dropped support for python2](https://github.com/davidhalter/jedi/issues/1063#issuecomment-578457199) in its latest release. Also added a bunch of sweet improvements like: - `Tensorflow,...
Hi guys. I was working on someone else's codebase recently, and found a code sample similar to the following: ```python if True: ''' some text ''' print("hello_world") ``` I know...
Suppose I have the following directory structure: ``` . ├── module │ └── stuff │ └── __init__.py └── real-module └── stuff └── foo └── __init__.py ``` And the contents of...
https://github.com/palantir/python-language-server/blob/2796154937df0d6552572c6704ff9887e2aa7b33/appveyor.yml#L24 The parameter `-s` can be added to show the detailed internal operation.
I have filed https://github.com/prabirshrestha/vim-lsp/issues/61 but the maintainer there (@prabirshrestha) closed the bug on me blaming the server. Even when I upgraded python-language-server to the last release (0.12.1) I get the...
question about this method https://github.com/palantir/python-language-server/blob/21833eafd4e254a79d35ca539967f3a010e8c2a1/pyls/uris.py#L46 in windows, if I pass a uri started with 'C:\\' for example: ``` from pyls.uris import to_fs_path uri = 'C:\\py_test\\test.py' value = to_fs_path(uri) print(value) ```...
While working on https://github.com/sublimelsp/LSP/pull/932, I learned that pyls does **not** handle UTF-16. It assumes that (row, col) pairs are in terms of UTF-32 points. For the row it doesn't matter...
Hello, I am having an issue with pyls not recognizing/completing some modules. i.e. numpy, matplotlib, pandas, jedi... beside these and some other untracked libraries, many are correctly listed after typing...
Some Python docstrings use `reStructuredText`, one notable example being [pandas](https://pandas-docs.github.io/pandas-docs-travis/development/contributing_docstring.html#docstring). Here's an example from that link: ```python def add(num1, num2): """ Add up two integer numbers. This function simply wraps...
I came to your project from [LSP official page](https://microsoft.github.io/language-server-protocol/implementors/servers/). I think your project would be useful for anyone who wants to write a language server in python for a different...