I just discovered TextMate last week and based on user reviews I decided it was worth a look-see.
I have been using the demo exclusively for the past week in an attempt to wean off of BBEdit. However I've noticed a couple of showstoppers for me and I'm hoping I either haven't discovered that they can be done in TextMate or that someone clever has figured out acceptable workarounds.
First up, BBEdit has a function under the Search menu "Compare Two Front Documents" which recognizes which windows are open in BBEdit and performs a diff between them. I use this all the time, and usually one of the documents is a remote document being edited via FTP through YummyFTP and TextMate. The only comparable function I found in TextMate is within the Diff bundle, however it specfically requires that both files be in the same project (i.e., local) and that they be selected in the Project drawer. Since I need to compare files remotely to files locally this does not do the trick. I tried reading up on TextMate's dynamic variables, but didn't see anything resembling "TM_OPEN_FILES".
Can TextMate accommodate BBEdit's "compare two front documents" function, either through some built-in function I don't know about or through some external bundle/workaround? If not, is this planned in a future release?
Next showstopper for me is the inability for TextMate to find/replace recursively through a directory. BBEdit allows me to select the directory of my choice, whereas TextMate seems to require that I define a Project and that only the Project files can be searched. Is there any way to override that? Any plans of expanding this in a future release?
Like I said earlier, I'm very tempted to switch from BBEdit to TextMate, so if either/both of the above "showstoppers" could be addressed/accommodated it would be a no brainer.
Thanks a bunch.
brian
On May 18, 2006, at 10:04 AM, Brian Tully wrote:
I just discovered TextMate last week and based on user reviews I decided it was worth a look-see.
I have been using the demo exclusively for the past week in an attempt to wean off of BBEdit.
Why? I found that both editors have strengths and weaknesses the other doesn't have. For me, Textmate really speeds up my development when writing Python, but not so much when I have to write Pascal. Or Find through an arbitrary directory.
So, oddly enough, I usually have TextMate and BBEdit open at the same time.
HTH, _Ryan Wilcox
On May 18, 2006, at 9:47 AM, Ryan Wilcox wrote:
Why? I found that both editors have strengths and weaknesses the other doesn't have. For me, Textmate really speeds up my development when writing Python, but not so much when I have to write Pascal. Or Find through an arbitrary directory. So, oddly enough, I usually have TextMate and BBEdit open at the same time.
I find I use BBEdit whenever I need to do extensive searching as well. Though, that is just about all I use it for anymore.
Jamie
_______________________________________________________________________ Email: jamie@methnen.com Homepage: http://www.methnen.com
"And I always go to pieces. And I have it in my mind, that the sky is tall and heavy, when I could be brave." -Karen Peris (Brave)
"I want to find where the maid in the street is pouring her wine, I heard she takes you in and gives you the words you need said. If you'll be her brother, she'll kiss you like a sister. She'll even be your mother, for now." -Matt Slocum (Sister, Mother)
"And we are drowned." -Annie Dillard (Tickets For a Prayer Wheel) _______________________________________________________________________
Brian Tully btully@gstockco.com wrote:
Next showstopper for me is the inability for TextMate to find/replace recursively through a directory. BBEdit allows me to select the directory of my choice, whereas TextMate seems to require that I define a Project and that only the Project files can be searched. Is there any way to override that?
Select the folder (directory) in Finder, drag it on TextMate icon, see what happens. Then "Edit->Find->Find in Project.." (cmd-shift-F) will work fine, no need to create a project.
Alternatively, you can open the folder (directory) from the "File->Open..." (cmd-O) menu.
On May 18, 2006, at 9:04 AM, Brian Tully wrote:
Like I said earlier, I'm very tempted to switch from BBEdit to TextMate, so if either/both of the above "showstoppers" could be addressed/accommodated it would be a no brainer.
I bet Allan has never heard that conjunctive before. His user base could likely be well above 100k if only he would implement those darn XYZ no-brainers. What a lazy lazy complacent man! :)
Sebastian
On May 18, 2006, at 9:04 AM, Brian Tully wrote:
Can TextMate accommodate BBEdit's "compare two front documents" function, either through some built-in function I don't know about or through some external bundle/workaround? If not, is this planned in a future release?
I am guessing you could do that using AppleScript, though I am far from an expert in AS. In fact, an AS could probably even offer you a list of all open documents and ask you to pick the two to diff.
Haris
Brian Tully wrote:
Can TextMate accommodate BBEdit's "compare two front documents" function, either through some built-in function I don't know about or through some external bundle/workaround? If not, is this planned in a future release?
The easiest way I can think of is to open up [FileMerge][1], and drag the two files’ icons from the title bars in TextMate into the “Left…” and “Right…” fields of the FileMerge window, and click the “Compare” button.
This could likely easily be automated with a TextMate command offering a list of open documents to compare with the current document, even including the saved version of the current file with a bit of work.
-Jacob
[1]: /Developer/Applications/Utilities/FileMerge.app