Skip to content

Conversation

LoicRiegel
Copy link
Contributor

@LoicRiegel LoicRiegel commented Oct 17, 2025

Summary

Updated Ruff installation instructions for Zed editor.

Details

Ruff support is now built in and does not require installing an extension anymore. zed-industries/zed#37804

Also FYI this open issue is related: zed-industries/zed#40266.

But I've just tried the last code snippet from the docs on a fresh Zed install on Windows and it worked well without installing any extension.

Updated Ruff installation instructions for Zed editor.

Ruff support is now built in and does not require installing an extension anymore. zed-industries/zed#37804

Also FWI this open issue is related: zed-industries/zed#40266.

But I've just tried the last code snippet from the docs on a fresh Zed install on Windows and it worked well without installing any extension.
@MichaReiser
Copy link
Member

Thank you. There's probably more that we can remove, now that ruff is used as the default formatter and linter (it's enabled by default) as mentioned here https://zed.dev/docs/languages/python#code-formatting--linting

@LoicRiegel
Copy link
Contributor Author

I can have a look

@injust
Copy link
Contributor

injust commented Oct 20, 2025

Zed comes with formatting, linting, and organizing imports out-of-the-box now. If you want Ruff to apply fixes when formatting:

{
    "languages": {
        "Python": {
            "code_actions_on_format": { "source.fixAll.ruff": true }
        }
    }
}

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.

3 participants