I just switched from TextMate 1 to TextMate 2. In TextMate 1, it was possible to have .c and .h files in different folders and when I would use the command go to file counterpart (⌥⌘↑) it would open the counterpart. In TextMate 2, it will only open the counterpart if they are in the same folder. Is there something I'm doing wrong?
Thanks, -- dv
-- View this message in context: http://textmate.1073791.n5.nabble.com/Open-Counterpart-tp25611.html Sent from the textmate users mailing list archive at Nabble.com.
On Sep 6, 2012, at 1:27 AM, dvlogic dvlogic@gmail.com wrote:
[…] it will only open the counterpart if they are in the same folder. Is there something I'm doing wrong?
No, it only works for current folder. Sort of surprised TM 1.x worked for entire project, but given that it deep-copied the entire file hierarchy, it could do so without taxing you (for effectively doing a file system search), unlike 2.0.
Of course the tax was paid in slow re-activation times and similar (that prompted TM to re-index the project).
If you need the functionality you could put a command on ⌥⌘↑ that would search your project (you could likely limit the search because you know exactly where to expect counterparts and which names they would have).