2718.us blog » komodo http://2718.us/blog Miscellaneous Technological Geekery Tue, 18 May 2010 02:42:55 +0000 en hourly 1 http://wordpress.org/?v=3.0.4 Text Editors http://2718.us/blog/2008/11/12/text-editors/ http://2718.us/blog/2008/11/12/text-editors/#comments Wed, 12 Nov 2008 20:44:32 +0000 2718.us http://2718.us/blog/?p=113 When I was first learning structured programming, I used an IDE (TurboPascal).  Since then, I have rarely used an IDE outside of specialized language development environments like VisualBASIC.  Mostly, I use a text editor that I link up with a good sftp program to edit remotely or that I use in conjunction with subversion.  For a long time, when I was still programming heavily on PCs, I used TextPad.  It’s probably still toward the top of my list, but it’s been so long since I used a PC as one of my primary machines that it’s hard for me to know.

The lack of TextPad for mac has left me searching, on and off, almost constantly for the “right” mac text editor.  Most of the time now, that search leaves me right back at Komodo Edit, the free cross-platform text editor built on Gecko and Scintilla that I’ve been using for a logn time now.  Every other major editor just seems to be missing something I’ve come to really like in Komodo Edit, even as slow and clumsy as the interface can be sometimes.

I really wanted to like BBEdit, TextWranger, TextMate, skEdit, subEthaEdit, Coda, etc., but none of them seemed to have the simplicity of code-completion (including variable and constant name completion) and intelligent code auto-indenting that Komodo Edit does.  I wanted to like the integration of various resources in Coda, but having the reference materials in the one program versus in a web browser window over on that second monitor there just didn’t seem to make enough of a difference.  I wanted to think that having an editor that could do sftp and subversion was worthwhile, but it just didn’t seem to matter to my workflow.

It’s been so long since I’ve been away from TextPad that I’m not sure even it would compare to Komodo Edit.  Of course, the one tool that is poised at any moment to start eating into Komodo Edit’s share of my use time is MacVim (this is apparently a new port of vim).  Vi/vim is so unbelievably powerful… and so much more my style than Emacs.  Vi has been my text editor of choice at the command line for about a decade or so now.  See also Why, oh WHY, do those #?@! nutheads use vi? and the two graphics below.

Learning Curves

Real Programmers

]]>
http://2718.us/blog/2008/11/12/text-editors/feed/ 0
Why Didn’t Someone Tell Me About Subversion Sooner? http://2718.us/blog/2008/06/06/why-didnt-someone-tell-me-about-subversion-sooner/ http://2718.us/blog/2008/06/06/why-didnt-someone-tell-me-about-subversion-sooner/#comments Sat, 07 Jun 2008 02:26:09 +0000 2718.us http://2718.us/blog/?p=43 I’d gotten very used to editing some of my sites on the live running copy or editing a testbed server, then rsyncing it to the live server.  I really had the WinSCP+TextPad thing down, then moved to Transmit+KomodoEdit when I went Mac-only for programming.  It wasn’t bad at all, though every once in a while I really wished I could do one of those “search every file” actions from the editors, but that’s just not possible when editing one file at a time as a temporary copy via SFTP.

At the moment, I’m just starting to dig into one of the larger web projects I’ve done, migrating a large, data-driven site from PHP4 to PHP5, moving it from a commercial host to my own hosting, and rewriting large swaths of code—all at once.  The previous webmaster, who wrote the original code, said he’d used subversion to deal with making revisions and having the ability to roll back when things broke, so I decided to look into subversion.

While most of the documentation made it seem really complex, once I’d settled on https access (apache mod_dav_svn), in the context of an existing SSL site I had, things were very easy–just a few svnadmin commands to set up the directories and a few lines of tweaking in an apache config file.  About 10 minutes into playing with the repository, having imported the existing site and set up a working copy on my local machine, I wondered if there weren’t some nice GUI way to deal with checkout/checkin/status/etc.  Enter svnX.

Now I’ve got working copies on my desktop and laptop as well as a copy checked out to the new production server and I can easily edit locally, even searching all files (that makes it a lot easier to fix all the instances of some incompatibility with PHP5 or some assumption about the directory structure or other oddity).  Once I’ve edited, I can easily check what’s been revised (status) and save the changes to the repository (checkin/commit) using svnX.  A quick “svn up” on the server and everything’s live.

This setup is so wonderfully easy that I’m annoyed I didn’t know to do it sooner.

]]>
http://2718.us/blog/2008/06/06/why-didnt-someone-tell-me-about-subversion-sooner/feed/ 1