Hello everyone,
I started porting my TextMate bundle RopeMate to ST2. It integrates the python refactoring/completion library Rope (http://rope.sourceforge.net/) into ST2 to enable python auto-completion and Goto-Definition. Testers welcome!
https://github.com/JulianEberius/SublimeRope
Just unzip/git clone the folder SublimeRope into the Packages directory. Single-file completion works instantly, for project-wide completion you need minimal configuration (see README for details).
I'm looking forward to feedback!
p.s.: Don't despair if the first completion on a new project takes long, just wait a moment. Rope indexes the project and stores the information, so subsequent completions should be fast.
Edit:
The package has been updated. Apart from various fixes to completion and GotoDefinition it also has new features:
- "Rope: New Project" command added to the command palette to help with project setup
- "Rope: Show Documentation" command, which shows the docstring of the word under the cursor
- "Rope Refactor: Rename" command now works quite well (project-wide renaming)