Refactoring for TextMate

The wonderfull Bicycle Repair Man refactoring tool is now available for TextMate.

Paul Bissex hacked it to be a nice Textmate Bundle. To install it do:

$ sudo easy_install http://bicyclerepair.sourceforge.net/bzr/bicyclerepair-nightly.tar.gz
$ wget http://e-scribe.com/software/python/biketextmate/biketextmate.tgz
$ tar xzvf biketextmate.tgz
$ mv BicycleRepairMan.tmbundle/ ~/Library/Application Support/TextMate/Bundles/
$ rm biketextmate.tgz
Restart TextMate.

Now you can open a Python file, press Ctrl+Shift+B and refactor away.

Enjoy!

P.S.: What is Refactoring? Refactoring is a disciplined technique for restructuring an existing body of code, altering its internal structure without changing its external behavior. (Martin Frowler)

Trackbacks/Pingbacks

  1. Quora - 2011-08-30

    Is there a way to do Eclipse like Refactoring/Renaming in Textmate?…

    I don’t believe there is any way to do refactoring natively in TextMate, but Find and Replace in Project does the job for me, despite it sometimes being imperfect. You can quickly access it with ⌘⇧F.

    If you don’t mind installing a third-party plugin…

Kommentar verfassen

Trage deine Daten unten ein oder klicke ein Icon um dich einzuloggen:

WordPress.com-Logo

Du kommentierst mit Deinem WordPress.com-Konto. Abmelden / Ändern )

Twitter-Bild

Du kommentierst mit Deinem Twitter-Konto. Abmelden / Ändern )

Facebook-Foto

Du kommentierst mit Deinem Facebook-Konto. Abmelden / Ändern )

Google+ Foto

Du kommentierst mit Deinem Google+-Konto. Abmelden / Ändern )

Verbinde mit %s