« Using the YUI to create an Open Database tree view | Main| Aw, Snap! »

Aptana

Category domino
For a while now, I've been using Eclipse to do all of my Javascript development. The primary reason is because the Subclipse plugin allows painless integration with Subversion. But until recently I'd been at a loss to find a good plugin to provide code completion. And then I found Aptana. It also exists as a standalone IDE, but the Eclipse plugin was precisely what I was looking for. Apparently it's been around since last March, but "javascript eclipse plugin" just wasn't descriptive enough to tell Google I was looking for it.

One aspect of the code completion functionality that really comes in handy: in the plugin preferences, you can tell it which browsers you're developing for (the choices are IE, Mozilla, Netscape, Opera, and Safari). Why? Well, whenever the auto-complete pops up, it lists the source of each option - either a file that you've included in your "Code Assist profile", or JS Core / DOM. If the option is considered core Javascript or part of the DOM, an icon appears for each of the browsers listed in your preferences... grayed out if that browser does not support the option. Using the arrow keys to navigate to the preferred option - or continuing to type until it's the selected option - displays an additional tooltip with any available documentation regarding that option, as well as detail about which versions of each browser support it. For example, it was news to me that Safari doesn't support String.split(). This feature makes cross-browser development so much easier. No more having to memorize every last discrepancy between each user agent.

Comments

Gravatar Image1 - Nice tip. I've been meaning to give my Javascript a sort-out.

Contact Me

Hire Me

Elsewhere

What the Quote?

"I was talking to your boss last night, and he told me, 'I have some really bright people... I'm just not so sure that they're sane'."

Mary Beth Raven

"I now have pickle juice in my lung."

Tim Tripcony

"No, she's all four-cylinder ugly on the inside."

Laura Tripcony

"Wanna know the produce code for a kiwi?"

Steven Rodgers

"Voltron is just the K-Mart version of Transformers."

Laura Tripcony

Apparel

Lotus Rocks

I write the code that makes the young girls cry

Current Terror Alert Level

Assorted Linkage

ClustrMap