DTerm is a great app for the Mac
I’ve been using git for awhile now and I also use Eclipse as my IDE. Eclipse doesn’t yet have good support for git, though they’re working on it. So I do a lot of command line git commands.
I found the DTerm app and it’s great! Basically, you just press Cmd-Shift-Enter and a command line window pops up with the directory set to the directory of whatever window was on top. So if you’re editing a file in Eclipse, the DTerm window comes up in the directory containing that file. You can do your git command and get the results, then just press Escape and the window goes away. It remembers the last several commands and their results.
Pretty clever!
Oh, this is a Mac app. There are probably similar things for Windows and Linux.
It also turns out that although it works for XCode, it does not work with Eclipse because Eclipse is a cross-platform application using SWT for the UI and SWT has no concept of a document, so the current directory cannot be set.
The Eclipse people suggested that I could write a plugin to handle this, so I did. It’s at http://khuxtable.github.com/eclipse-cocoa-set-represented-filename, if anyone cares.
Hey!
Great initiative! It’s just that your plugin doesn’t seem to work in Zend Studio 8. Error-boxes popping up and nothing works. Had to remove the plugin from the filesystem to get it back up and running.
Any idea why?
I have no idea. The plugin is designed for Eclipse, not Zend Studio. That probably has something to do with it.
Thinking some more, I’d suggest forking the plugin source and playing with it. I’m not sure how much common code there is between Zend Studio and Eclipse.
Thanks for doing this. I installed this into Aptana Studio 3 (an Eclipse plugin) using Help | Install New Software… and it seemed to install fine. But DTerm doesn’t recognized the current file. Any suggestions on how to troubleshoot?
Not really. Sorry. And sorry for the late reply.