Skip to content
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

Package request: python-lsp-ruff #46560

Open
ElDifinitivo opened this issue Oct 10, 2023 · 4 comments · May be fixed by #48776
Open

Package request: python-lsp-ruff #46560

ElDifinitivo opened this issue Oct 10, 2023 · 4 comments · May be fixed by #48776
Labels
request Package request

Comments

@ElDifinitivo
Copy link
Contributor

Package name

python-lsp-ruff

Package homepage

https://github.com/python-lsp/python-lsp-ruff

Description

python-lsp-ruff is a plugin for python-lsp-server that adds linting, code action and formatting capabilities that are provided by ruff, an extremely fast Python linter written in Rust.

Does the requested package meet the package requirements?

System

Is the requested package released?

Yes

@ElDifinitivo ElDifinitivo added the request Package request label Oct 10, 2023
@CameronNemo
Copy link
Contributor

See also... ruff-lsp https://github.com/astral-sh/ruff-lsp

Not sure which is better 🤷🏼

@ElDifinitivo
Copy link
Contributor Author

It seems like ruff-lsp is meant to act as its own language server, while python-lsp-ruff works together with pylsp as a plugin, which is already in the repo.

Just coming from the perspective of someone who uses helix as their editor, this package would be more beneficial as only one LSP can be active, which allows me to continue to use pylsp alongside the capabilities of ruff.

CameronNemo added a commit to CameronNemo/void-packages that referenced this issue Oct 25, 2023
CameronNemo added a commit to CameronNemo/void-packages that referenced this issue Oct 30, 2023
CameronNemo added a commit to CameronNemo/void-packages that referenced this issue Feb 16, 2024
@CameronNemo CameronNemo linked a pull request Feb 16, 2024 that will close this issue
@jlhamilton777
Copy link

Helix can use more than one language server per language now: https://helix-editor.com/news/release-23-10-highlights/#multiple-language-servers. I've been using it with ruff-lsp, which is from the same team that makes ruff.

CameronNemo added a commit to CameronNemo/void-packages that referenced this issue Feb 16, 2024
@jlhamilton777
Copy link

They are going to add a ruff server command to ruff that provides an LSP.

astral-sh/ruff#10158

CameronNemo added a commit to CameronNemo/void-packages that referenced this issue May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request Package request
Projects
None yet
3 participants