Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>RopeNew to Visual Studio Code? Get it now.
Rope

Rope

David McNamee

|
527 installs
| (0) | Free
Rope refactoring for python code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Rope (python refactoring) VSCode Extension

This is a VSCode Extension for Rope, "the world's most advanced open source Python refactoring library".

It's really new! Currently it only supports a single operation: inline

Requirements

You must have poetry installed in your PATH for this extension to work.

If you don't already have it installed, try brew install pipx && pipx install poetry

Usage

  1. Select the symbol that you want to refactor
  2. Hit Cmd+Shift+P to open the command palette
  3. Search for "Rope Refactor:" to see the available refactoring operations

Extension Settings

There are none! (yet)

Known Issues

  • VSCode's undo feature won't work on the refactoring changes made by Rope
    • (this is probably something that can be fixed)
  • I've personally found some bugs in the behavior of certain Rope refactoring operations, please put those in the Rope gh repo if you find any others
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft