Skip to content

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

Merged
merged 13 commits into from
Jul 30, 2025
Merged

feat: Python parser #53

merged 13 commits into from
Jul 30, 2025

Conversation

Hoblovski
Copy link
Collaborator

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.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(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:

@Hoblovski
Copy link
Collaborator Author

@AsterDY pylsp 是 MIT 许可证的,没问题的话可以合并

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

只是测例……………… 过两天统一加 license 把

@AsterDY
Copy link
Collaborator

AsterDY commented Jul 30, 2025

现在还是需要用户自己安装pylsp是吧? @Hoblovski

@Hoblovski
Copy link
Collaborator Author

现在还是需要用户自己安装pylsp是吧? @Hoblovski

暂时是的,就是一个 submodule 然后 pip install . 。因为用户可能希望装到不同的 conda/venv 里,这个还是用户确认一下,不用一键脚本弄

@Hoblovski Hoblovski merged commit 6c4e40c into main Jul 30, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants