-
Couldn't load subscription status.
- Fork 34
feat: Python parser #53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…n-lsp/python-lsp-server), and plus the following pull requests: 1. semanticTokens/full: python-lsp/python-lsp-server#645 2. typeDefinition: python-lsp/python-lsp-server#533 Maybe also 3. implementation: python-lsp/python-lsp-server#644
Aside from (partially) implementing the python specification: * fix hardcoded semanticTokens/range availability * remove the unnecessary implementationProvider check
|
@AsterDY pylsp 是 MIT 许可证的,没问题的话可以合并 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
只是测例……………… 过两天统一加 license 把
|
现在还是需要用户自己安装pylsp是吧? @Hoblovski |
暂时是的,就是一个 submodule 然后 pip install . 。因为用户可能希望装到不同的 conda/venv 里,这个还是用户确认一下,不用一键脚本弄 |
What type of PR is this?
实现 python 的 parser,基于修改后的 python-lsp-server.
LSP 较弱,可能考虑的其他 LSP:jedi,pylance, basedpyright
修改后的 python-lsp-server 在 submodule 中。
安装命令是:
python -m pip install -e .,然后检查pylsp是否在 PATH 里。有很多 hack/todo/xxx,但是最紧急的是 integration/system tests.
Check the PR title.
(Optional) Translate the PR title into Chinese.
(Optional) More detailed description for this PR(en: English/zh: Chinese).
en:
zh(optional):
(Optional) Which issue(s) this PR fixes:
(optional) The PR that updates user documentation: