Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatically reveal current file in TextMate project drawer

Tags:

textmate

There is a key chord to highlight the current document in the project drawer but I want it to happen automatically.

Is there any way to make TextMate reveal files automatically by expanding the parent hierarchy whenever I switch documents? If possible, I'd also like to collapse that hierarchy to its prior state when the file loses focus.

(For background, as a point of comparison: In Eclipse I can link the Navigator with the currently active editor to always show the currently edited file in the hierarchy of files. It does highlight the file if it's visible in the project drawer, but I want it to reveal files hidden in collapsed folders. )

like image 413
Turadg Avatar asked Jan 12 '11 00:01

Turadg


2 Answers

You can do this by using the combinations Ctrl+Command+R

like image 117
katrash Avatar answered Nov 11 '22 08:11

katrash


TextMate can't do this natively but it can be added with a plugin.

Project+ does it already.

Missing Drawer may have added the feature by the time you read this.

like image 5
Turadg Avatar answered Nov 11 '22 06:11

Turadg