Skip to content

feat: add experimental support for Ruff language server #5345#9126

Open
vlashada wants to merge 1 commit intoanomalyco:devfrom
vlashada:feat/experimental-ruff-lsp
Open

feat: add experimental support for Ruff language server #5345#9126
vlashada wants to merge 1 commit intoanomalyco:devfrom
vlashada:feat/experimental-ruff-lsp

Conversation

@vlashada
Copy link

@vlashada vlashada commented Jan 17, 2026

  • Introduced OPENCODE_EXPERIMENTAL_LSP_RUFF flag to conditionally enable Ruff language server functionality.
  • Implemented Ruff language server with support for Python file extensions and virtual environment detection.

Add support for ruff to satisfy this issue #5345, where ty and ruff should be ran together: #5345 (comment)

Implementation is very close to the pull request for ty: #5575

Fixes #5345

- Introduced OPENCODE_EXPERIMENTAL_LSP_RUFF flag to conditionally enable Ruff language server functionality.
- Implemented Ruff language server with support for Python file extensions and virtual environment detection.
@github-actions
Copy link
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@vlashada
Copy link
Author

What is the status on reviewing/merging this @rekram1-node

@Yazington
Copy link

Yazington commented Feb 7, 2026

Would like to contribute and close this, @thdxr would you like me to test it on linux?

I read guidelines
I am also trying to contibute. I checked issues to see what I can work on with the following filters:

is:issue state:open no:assignee label:help-wanted

Not sure if these are priority or you have other tickets I can work on, please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: ty + ruff lsp rather than pyright

2 participants