Small tip on how to organize Textmate project drawer for your Rails project, to be more productive and get a less cluttered project overview.
The whole trick revolves around Groups, Textmate feature that rarely gets attention from community. Groups allow you to group (surprise!) folders or files in a way that is different from their native hierarchical structure. A picture worth a thousand words. Here’s how with usage of Textmate groups we transformed this view:

To this:

For my taste, last way is much easier on eyes. It hides things that are rarely needed and highlights stuff that you spend 95% of your time with. To do something similar for yourself, just create empty Textmate project and drag folders you use often (usually it’s app/ folder contents) to drawer. Then click on empty space in drawer and create a new group, then drag everything that’s left there.
That’s it! I hope somebody will find it useful. But of course we all have lots of little secrets that let us be more happy and productive while doing our work. Care to share your tips in comments?


5 Comments
son of a gun. i had to try it to believe it.
ive been using TM every day for a year and a half and learn new things EVERY day.
best. app. ever.
Alex Hillman — July 11, 2007, 5:17 pm
p.s. if you havent already be sure to check out PeepCode’s Textmate video tutorial. Great rails power tips but a good general TM tutorial as well.
http://peepcode.com/
Alex Hillman — July 11, 2007, 5:18 pm
GREAT idea! Thanks for this tip. I may have to check out the Peepcode as well.
Barry Hess — July 11, 2007, 8:18 pm
Awesome tip! I just rearranged a bunch of Rails projects and plain olde static web projects and it’s so much less clutter now. Thanks for sharing!
Chu Yeow — July 11, 2007, 10:44 pm
Peepcode screencasts are great, make sure you check out the REST one. It’s classic
Dmitry Sabanin — July 12, 2007, 12:05 am
Write a comment