News for hackers. Stuff that matters.
Re:Dear John Letter to Coda by whalesalad on Saturday April 24, 2010 @12:15PM (#1291067)
This is an email that I sent to a long time emacs hacker a few days ago, who recently switched to Textmate. For those of you wondering about why a lot of devs love it so much...

As a sidenote, I think that Coda was designed for an older generation of developers who used FTP to managed static and/or PHP websites... for everything else it's not so great. I love Textmate because it's very universal like vim or emacs... it doesn't have a specific purpose other than to be a great editor. It doesn't have a built in terminal or ftp client.

~~~

Hey Dude,

Here are some of those Textmate resources I was telling you about last night. Here's a screenshot of how everything on my system looks - http://grab.by/3OPe

There are two ways to achieve this, and I'm not sure which way I am doing it. I think I am just using the MissingDrawer plugin, but not sure. Here are both links: http://ciaranwal.sh/projectplus http://jannisleidel.com/2008/02/missingdrawer/ Both are good blogs too, especially Ciaran Walsh's one, which has a lot of Textmate goodies.

Here's an example of what happens when you hit ⌘+T - http://grab.by/3OPf - it opens a little window where you can just start typing, use arrow keys, and press enter to open a file.

Also, and you might already know this, but you can use textmate from the command line as well with the "mate" command. You might have to register it though, some menu item in Textmate will put a file in your /usr/bin or something. But... once you've got the mate command working, you can do nifty things like "git diff | mate". Textmate also has a diff view which is pretty elite: http://grab.by/3OPw

Also, you can do a few things to open a project in Textmate. You can do "mate /path/to/dir" or additionally, cd to the dir and hit "mate ." which is what I traditionally do since I'll need my term in that dir anyway.

That bit about tabs reminds me actually, you can fiddle with that stuff in Textmate as well. At the bottom of the window you can set Textmate to use soft-tabs, which you're probably already familiar with - http://grab.by/3OPE

The Bundle system in Textmate is awesome (like plugins basically) and there is one bundle that you can get, which will let you easily extend Textmate directly from Textmate - http://grab.by/3OPJ - it's called GetBundles (plural). There's an older one that was called GetBundle, but the newer and improved one is called GetBundles. Looks like this is a good resource for that -- http://solutions.treypiepmeier.com/2009/02/25/installing-get...

Hopefully some of these come in handy :)

Glad to see you finally on the dark side!

Re:Dear John Letter to Coda by petewarden on Saturday April 24, 2010 @01:43PM (#1291235)
You finally pushed me into giving it a try. I started a 'Find in project' on a project with some multi-megabyte text files, and it not only gave me the Beachball of Death, it also was thrashing so heavily it took several minutes to get the terminal to respond enough to kill it.

I wasn't ready to give up, so I did some research and uncovered "Grep in Project", a replacement that does it right: http://henrik.nyh.se/2007/06/grep-in-project-command-for-tex...

I don't know what it is about "Find in Project" that drives text editor programmers to reinvent grep, badly. XCode suffered from terrible performance too for a long time.

Re:Dear John Letter to Coda by petewarden on Saturday April 24, 2010 @02:00PM (#1291283)
No split-window view for comparisons: http://ticket.macromates.com/show?ticket_id=F4398B73

It doesn't look like that's achievable via plugins either, so my experiment with TextMate is over unfortunately.

Re:Dear John Letter to Coda by tpiep on Sunday April 25, 2010 @03:17AM (#1292329)
You might give PeepOpen a try: http://peepcode.com/products/peepopen
Re:Dear John Letter to Coda by texel on Saturday April 24, 2010 @02:13PM (#1291300)