Skip to content

feat: add experimental support for Ruff language server#9119

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

feat: add experimental support for Ruff language server#9119
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

- 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

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.

I was referencing a comment in an issue, not the issue itself. I've now updated my pr.

@vlashada
Copy link
Author

Closing this pull request to make another one where the issue is included.

@vlashada vlashada closed this Jan 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant