When I selected Go > Current Document (Cmd-Ctrl-R) in TextMate 1, it would highlight the current document in the file list, expanding any folders as needed.
In TextMate 2, it still works this way — *IF* the folder containing the document is already expanded, so all it needs to do is scroll. If the folder is not expanded, TM2 opens the folder, so the drawer now only shows a subset of the project I'm working on.
Example:
folder1
v folder2 file1 file2
folder3
If I am editing file2 and press Cmd-Ctrl-R, the highlight moves to file2, correctly.
In the case where folder2 was not expanded, though, I would see this after pressing Cmd-Ctrl-R:
file1 file2
…and I would no longer be able to access folder1 and folder3 from the file list without using the dropdown at the top. I would also no longer have an overview of the SCM status of the entire project.
How can I set TM2 to work the old, non-annoying way, where it just expands folders as needed and doesn't change the root?
Thanks
On 17/02/2012, at 19.57, John Yeates wrote:
How can I set TM2 to work the old, non-annoying way, where it just expands folders as needed and doesn't change the root?
http://lists.macromates.com/textmate/2012-January/034148.html
On Friday February 17 2012, Allan Odgaard mailinglist@textmate.org wrote:
How can I set TM2 to work the old, non-annoying way, where it just expands folders as needed and doesn't change the root?
http://lists.macromates.com/textmate/2012-January/034148.html
Thanks — didn't see that one. As a workaround, is there a way of telling TextMate to expand all folders and subfolders? That way, I can just do that when I start working, and it will always be able to see the target…
On Feb 20, 2012, at 3:27 AM, John Yeates wrote:
On Friday February 17 2012, Allan Odgaard mailinglist@textmate.org wrote:
How can I set TM2 to work the old, non-annoying way, where it just expands folders as needed and doesn't change the root?
http://lists.macromates.com/textmate/2012-January/034148.html
Thanks — didn't see that one. As a workaround, is there a way of telling TextMate to expand all folders and subfolders? That way, I can just do that when I start working, and it will always be able to see the target…
Use the standard OS X way (alt-click on disclosure triangle).
On Monday February 20 2012, Gerd Knops gerti-textmate@bitart.com wrote:
On Feb 20, 2012, at 3:27 AM, John Yeates wrote:
Thanks — didn't see that one. As a workaround, is there a way of telling TextMate to expand all folders and subfolders? That way, I can just do that when I start working, and it will always be able to see the target…
Use the standard OS X way (alt-click on disclosure triangle).
Doh — I tried that, but I was command-clicking rather than option-clicking. Thanks!