-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Ruff "lineLength" Configuration Not Working in Zed 0.164.2 #21434
Comments
Maybe related? After update to 0.163.3 I'm getting error when zed is started. Language server error: ruff failed to spawn command. path: "/opt/homebrew/bin/ruff", working directory: "/Users/zzz/src/yyy/xxx", args: ["server"] |
I think this is the same issue as |
Log update: 2024-12-04T09:34:43.803095+08:00 [INFO] attempting to start language server "ruff", path: "/Users/usr/Dev/vscode/ping-search-engines/benchmark_search_engines.py", id: 3 |
@ZuidVolt I am not able to reproduce. I believe it may because your settings are incorrect, I am able to use the following settings.json:
Screen.Recording.2024-12-10.at.12.25.44.movIf you are still seeing this, can you create a mini repo with a |
Just re-reading your second comment:
Do you have the |
after updating the newest version ZED the issue seems to be fixed |
Check for existing issues
Describe the bug / provide steps to reproduce it
After updating to Zed version 0.164.2, the Ruff line length configuration is not being respected. Despite setting a line length of 120 in the configuration, the editor defaults to a line length of 80 when formatting or saving files
Current configuration:
Environment
OS: macOS Sequoia
CPU: Apple M3
Memory: 16 GB
Zed 0.164.2
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log
The text was updated successfully, but these errors were encountered: