Automatically reveal current file in TextMate project drawer
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 f开发者_StackOverflow中文版iles hidden in collapsed folders. )
You can do this by using the combinations Ctrl+Command+R
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.
Had this same question. Didn't find an answer googling and emailed their support.
Preferences → Projects, Keep current document selected
should do it on TextMate 2.
精彩评论