← All extensions

PythonRefactoring

v0.0.3 · by Roy Williams · added 3 November 2026

Refactoring support for Python.

Language servers

How to install

With Forge Super installed, the button above opens the app on this extension, where you press Install. Nothing is installed until you do.

You can also open the Extensions panel in the app and search for PythonRefactoring. The extension's id is python-refactoring.

Don't have Forge Super yet? Download it here.

README

From the extension's repository, written by its authors and not by Mentenaz. See the source.

zed-python-refactoring

Adds refactoring support for Python in Zed

Installation Steps

Install the LSP

You can find the LSP implementation at cst-lsp

pip install cst-lsp
rustup target add wasm32-wasi

To make sure things are installed properly, run cst_lsp --stdio. It should run without error (you'll have to Ctrl-C to kill it manually)

Install Development Extension

  1. Open Zed
  2. ⌘+Shift+P - "zed: install dev extension"
  3. Point to this directory

If things aren't working check out the logs with:

tail -f ~/Library/Logs/Zed/Zed.log

Add as a language server

{
  "languages": {
    "Python": {
      "language_servers": ["pyright", "python-refactoring"]
    }
  }
}

Once installed, you should see a code action to "Refactor" one you select some Python lines.