mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-19 02:55:20 +00:00
![renovate[bot]](/assets/img/avatar_default.png)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [mdformat-mkdocs](https://redirect.github.com/kyleking/mdformat-mkdocs) ([changelog](https://redirect.github.com/kyleking/mdformat-mkdocs/releases)) | `==3.1.1` -> `==4.0.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>kyleking/mdformat-mkdocs (mdformat-mkdocs)</summary> ### [`v4.0.0`](https://redirect.github.com/KyleKing/mdformat-mkdocs/releases/tag/v4.0.0) [Compare Source](https://redirect.github.com/kyleking/mdformat-mkdocs/compare/v3.1.1...v4.0.0) #### What's Changed - fix!: add newline after title for consistency with MKDocs style by [@​KyleKing](https://redirect.github.com/KyleKing) in [https://github.com/KyleKing/mdformat-mkdocs/pull/44](https://redirect.github.com/KyleKing/mdformat-mkdocs/pull/44) **Full Changelog**: https://github.com/KyleKing/mdformat-mkdocs/compare/v3.1.1...v4.0.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/astral-sh/ruff). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS41OC4xIiwidXBkYXRlZEluVmVyIjoiMzkuNTguMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW50ZXJuYWwiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com> Co-authored-by: Kyle King <KyleKing@users.noreply.github.com>
28 lines
1.6 KiB
Markdown
28 lines
1.6 KiB
Markdown
# Editor Integrations
|
|
|
|
Ruff can be integrated with various editors and IDEs to provide a seamless development experience.
|
|
This section provides instructions on [how to set up Ruff with your editor](./setup.md) and [configure it to your
|
|
liking](./settings.md).
|
|
|
|
## Language Server Protocol
|
|
|
|
The editor integration is mainly powered by the Ruff Language Server which implements the
|
|
[Language Server Protocol](https://microsoft.github.io/language-server-protocol/). The server is
|
|
written in Rust and is available as part of the `ruff` CLI via `ruff server`. It is a single, common
|
|
backend built directly into Ruff, and a direct replacement for [`ruff-lsp`](https://github.com/astral-sh/ruff-lsp),
|
|
our previous language server. You can read more about `ruff server` in the
|
|
[`v0.4.5` blog post](https://astral.sh/blog/ruff-v0.4.5).
|
|
|
|
The server supports surfacing Ruff diagnostics, providing Code Actions to fix them, and
|
|
formatting the code using Ruff's built-in formatter. Currently, the server is intended to be used
|
|
alongside another Python Language Server in order to support features like navigation and
|
|
autocompletion.
|
|
|
|
The Ruff Language Server was available first in Ruff [v0.4.5](https://astral.sh/blog/ruff-v0.4.5)
|
|
in beta and stabilized in Ruff [v0.5.3](https://github.com/astral-sh/ruff/releases/tag/0.5.3).
|
|
|
|
!!! note
|
|
|
|
This is the documentation for Ruff's built-in language server written in Rust (`ruff server`).
|
|
If you are looking for the documentation for the `ruff-lsp` language server, please refer to the
|
|
[README](https://github.com/astral-sh/ruff-lsp) of the `ruff-lsp` repository.
|