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
- Select the symbol that you want to refactor
- Hit Cmd+Shift+P to open the command palette
- 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
| |