Zend Studio 7

Recently, version 7 of Zend Studio was released. Very unhappy with version 6, but previously satisfied with Zend 5.5, I decided to give it another chance to see if they had any luck improving the user experience.

Zend charges you $399 per year to use this software. They’ve got a standard toolkit for every php developer from phpunit support, documentation support, subversion support, code galleries, etc. These would be very useful if Zend had not gotten the user experience part all wrong. For $399 per year, they better have some great advantage over FREE competitors like NetBeans IDE.

(more…)

NetBeans 6.7RC1 Crashes on Mac OS X 10.5.7

After an hour of searching, I found that the problem for me was that java 1.5 on mac was forcing netbeans to run in 64bit mode which was causing it to crash before it even opened.

By following the instructions (reposted with more info) at http://blogs.sun.com/yakshaving/entry/netbeans_will_not_start_on) I was able to get things resolved. As far as I can tell, I have not affected anything else I have.

PHP IDE Complaints, i.e. Zend Studio 6 is Crap

Updated: 6/6/09: As of now, I’ve settled on NetBeans as my primary IDE, and Textmate as my secondary. Read below for reasons.

In my line of work, a code editing tool is something that you spend almost all of your day with. There are so many that I keep forgetting what I don’t like about each one, and I return to it six months later thinking it was decent. Here, I’m going to try to outline all of my complaints about each one.

If you’re a developer of any of these, please let me know what I can do to help you fix these problems, or please contact me to explain why I’m failing to see your genius. I’m certain that I’ve been through all of the big ones so if I’m missing one, please let me know.

In general, my must-have features are typically:

(more…)

Duplicate Line/Selection in Komodo 5

Update: Trent from ActiveState (developers of Komodo) notified me that they’ve actually just completed this feature within the latest nightly builds. More information here.

Exploring the ability to create macros and bind them to key commands in Komodo IDE. I’m reposting the below macro that duplicates the lines or the current selection. Thus functionality was previously is Zend Studio 5, went missing from 6, and thanks to the macro, is available in Komodo. Enjoy!

// Duplicate Line or Duplicate Selection
komodo.assertMacroVersion(2);
if (komodo.view) { komodo.view.setFocus() };

var ke = komodo.editor;

if (ko.views.manager.currentView.scimoz.selText){
    // Copy the current selection
    new_selection = komodo.interpolate('%s');
    var pos = ke.currentPos;
    ke.insertText(pos,new_selection);
}else {
    ke.lineDuplicate();
}

All Code Editors & IDEs Are Just OK

Over the last seven years I’ve tried out almost every single tool available for my code editing work. I’ve tried open source tools, free tools, commercial applications, and they none of them meet my expectations.

I wanted to quickly mention the top three I’ve been able to use the longest and still document why they’re not what I want them to be.

Coda

I’ve tried out the excellent editor from Panic – it has two killer features: ftp upload buttons next to filenames that are stored locally and sharing via bonjour over the network. Coda is pretty basic and lightweight, but for hardcore php developer it lacks tools I find helpful.

I’ve heard that Coda is working on subversion integration which will be nice, but what I really need is improved php support. If they wanted to give me better code analysis, php variable/function exploring functions, syntax error highlighting, etc, I would enjoy it much more.

Coda is unlikely to every meet all of those expectations because it’s more of an everything editor and will probably never have specific language features like that.

Zend Studio 5

I’ve used this tool the most but there are a few items it lacks that I really would like to have. First off, while it can edit files over ftp directly, I would like it to have an ftp upload like Coda does. Zend 5 has no subversion support. I’m really driven crazy by some basic file quirks on Mac that I’ve been unable to resolve.

Zend 6 has a lot more features that would be very useful but unfortunately, it’s a worse program for me than Zend 5.

Zend 6

Immediately I’m shown how awful and clunky the new project/file management system is. There are too many ways to create and store projects. Many of the default ways now store my code somewhere I don’t want it, and confused the heck out of me when trying to edit files.

It also decided to keep all of these hidden files in my folders which had I left them would have been checked into my subversion repo. I immediately dismisses Komodo from Aptana because of this same issue – my project files were being stored in with my code.

I’m having similar problems with zend 6 on mac – files will not open properly when I just double click on them or right click and select “open with”.

Also, the preferences are a thousand times more confusing – I can change syntax colors in two or three different places for the same code type.

Why can’t anyone fix these issues? Who would release a tool that can’t properly open files? Why does Zend have to make a product that’s actually worse than it’s predecessor? I’ve tried a thousand others but I’ll keep looking. Any suggestions?

Code Editors/IDE

Seventy-percent of my work day is spent in a code editor. For years I tried out every single application listed until I finally discovered PSPad. One of the requirements I needed was a ‘save all’ option to save all currently open files, and the ability to search & replace in files – open files, or files in a directory.

Now, I have the problem of being split between two apps. For years I’ve also used Zend Studio, and now that I finally have a computer that can handle it’s resource requirements, I can’t decide which app to use. Zend Studio has amazing code completion, even completing classes/functions/variables from other places in the project. It increases productivity and dramatically reduces my trips to the php.net documentation to lookup the exact syntax of a function.

I’ve forced myself to use it exclusively for several weeks now and I’m finally getting used to it. PSPad had the ability to search and replace in files on disk, while Zend Studio only replaces text strings in open files. PSPad also had a toolbar button to toggle word-wrapping. When editing text I frequently need word-wrapping, but when I’m programming I usually turn it off. Zend allows me to toggle it, but only after getting to its location in the preference pane first.