From 55c4f2b35a977c3188c4948c594eeacb7e745c57 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Thu, 22 Dec 2022 21:50:12 -0500 Subject: [PATCH] Add a link to the PyCharm plugin --- README.md | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index bf9a0b41e539b..fca218f984614 100644 --- a/README.md +++ b/README.md @@ -1078,18 +1078,6 @@ require'lspconfig'.pylsp.setup { } ``` -### PyCharm - -Ruff can be installed as an [External Tool](https://www.jetbrains.com/help/pycharm/configuring-third-party-tools.html) -in PyCharm. Open the Preferences pane, then navigate to "Tools", then "External Tools". From there, -add a new tool with the following configuration: - -![Install Ruff as an External Tool](https://user-images.githubusercontent.com/1309177/193155720-336e43f0-1a8d-46b4-bc12-e60f9ae01f7e.png) - -Ruff should then appear as a runnable action: - -![Ruff as a runnable action](https://user-images.githubusercontent.com/1309177/193156026-732b0aaf-3dd9-4549-9b4d-2de6d2168a33.png) - ### Vim & Neovim Ruff can be integrated into any editor that supports the Language Server Protocol via [`ruff-lsp`](https://github.com/charliermarsh/ruff-lsp) @@ -1152,6 +1140,24 @@ null_ls.setup({ + +### PyCharm (External Tool) + +Ruff can be installed as an [External Tool](https://www.jetbrains.com/help/pycharm/configuring-third-party-tools.html) +in PyCharm. Open the Preferences pane, then navigate to "Tools", then "External Tools". From there, +add a new tool with the following configuration: + +![Install Ruff as an External Tool](https://user-images.githubusercontent.com/1309177/193155720-336e43f0-1a8d-46b4-bc12-e60f9ae01f7e.png) + +Ruff should then appear as a runnable action: + +![Ruff as a runnable action](https://user-images.githubusercontent.com/1309177/193156026-732b0aaf-3dd9-4549-9b4d-2de6d2168a33.png) + +### PyCharm (Unofficial) + +Ruff is also available as the [Ruff](https://plugins.jetbrains.com/plugin/20574-ruff) plugin on the +IntelliJ Marketplace (maintained by @koxudaxi). + ### GitHub Actions GitHub Actions has everything you need to run Ruff out-of-the-box: