You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When setting the LSP Server setting to ruff server, it no longer seems to have an effect
To Reproduce
Prereqs: I am using Poetry as my package manager, with pyenv for managing python versions
Install this Ruff plugin in PyCharm
Change plugin settings to Enable Ruff LSP feature and use ruff server
Save settings
Observe that IJ shows an error for the ruff language server; the error is: pyenv: ruff-lsp: command not found
Expected behavior
It should respect the setting and launch ruff server instead.
Screenshots
Ruff Server Error Output:
pyenv: ruff-lsp: command not found
The `ruff-lsp' command exists in these Python versions:
3.11.9
Note: See 'pyenv help global' for tips on allowing both
python2 and python3 to be found.
Exit code: 127
Command line: /Users/markvanaken/.pyenv/shims/ruff-lsp
StdIO connection closed
Plugin settings screenshot
Environments (please complete the following information):
IDE: PyCharm 2024.3.1 (Professional Edition)
OS: macOS Sequoia 15.0.1
Ruff Version 0.7.4
Plugin version 0.0.42
Additional context
Bear in mind I do have ruff-lsp installed for a different python version. Maybe the plugin just straight up ignores that setting if ruff-lsp is installed. But that behavior would be bad for a number of reasons, on top of ruff-lsp no longer being the preferred way of running the ruff LSP. See the note on the ruff-lsp repo: https://github.com/astral-sh/ruff-lsp
The text was updated successfully, but these errors were encountered:
Describe the bug
When setting the
LSP Server
setting toruff server
, it no longer seems to have an effectTo Reproduce
Prereqs: I am using Poetry as my package manager, with pyenv for managing python versions
Enable Ruff LSP feature
and useruff server
pyenv: ruff-lsp: command not found
Expected behavior
It should respect the setting and launch
ruff server
instead.Screenshots
Ruff Server Error Output:
Plugin settings screenshot
Environments (please complete the following information):
Additional context
Bear in mind I do have ruff-lsp installed for a different python version. Maybe the plugin just straight up ignores that setting if
ruff-lsp
is installed. But that behavior would be bad for a number of reasons, on top ofruff-lsp
no longer being the preferred way of running the ruff LSP. See the note on theruff-lsp
repo: https://github.com/astral-sh/ruff-lspThe text was updated successfully, but these errors were encountered: