Skip to content

feat: add experimental support for Ruff language server#9125

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

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

Conversation

@vlashada
Copy link

  • 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

Sorry, made a mistake once again

@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