How do I open the file in a new tab instead of new window?
I normally use tabs when using TextMate. When I click on a search result, how do I make the file open in a tab? If I already have the file, I'd like to switch to that tab, or if I don't have it open, open it in a new tab (not a new window). This is the behavior of the normal "Find in project" in TextMate. Is there a way to do this? Thank you for your time and contribution.
I also use tabs and it always opens in a new tab for me.
The way it opens the file is with the txmt://open?url=yadda url scheme so it's up to textmate to decide how to open the file.
As I haven't seen your behaviour before I can't really say what might be causing it.
I have to assume that the filename in the URL is fully qualified, but you might want to check by right-clicking on the matching line and selecting "copy url" so that you can paste it into Safari's location bar. Opening that URL in Safari should cause textmate to open the file in a new tab (just like it should from ack in project).
After that, I'd experiment with different fully-qualified filenames to see if you can find one that does open in a new tab - hoping that it will point to the difference between tab and no-tab.
Once all that's done you'll be able to ask (on the textmate mailing list) why some URLs open in a new tab and some don't.
Hope this helps. Trev