tags:

views:

7015

answers:

20
+38  Q: 

JavaScript IDEs

Yay, another "What is the Best IDE"-Question, but this time it's for a language that does not seem to have any really popular yet: JavaScript.

With an IDE, I mean the full set: Writing Code with Syntax Highlighting and possibly "IntelliSense" Code Completion Helper, but also debugging including Breakpoint and Watches (also for AJAX Stuff), possibly even with support to run the code in multiple Browsers.

My current approach of "Writing JS in Notepad and using Firefox' Error Console and Firebug" is not really statisfying...

A: 

I'm not entirely sure if it has all the features you mentioned, but Aptana Studio is good for web development (including JavaScript).

Thomas Owens
+1  A: 

Aptana's the best I've come across. It's free, open-source, includes highlighting, code completion, debugging, and a number of other tools.

bdukes
A: 

Notepad2 supports JavaScript syntax highlighting.

Intellisense is offered in VS2008, however since JavaScript is so open you will never be able to have the same intellisense as a strongly typed language.

David Basarab
+21  A: 

There is no IDE that is quite as feature-complete as you require, but Aptana Studio is one that constantly comes up on sites like Ajaxian as being one of the better JavaScript IDEs.

I believe they also have code completion support for jQuery 1.2.6 as well.

David McLaughlin
Although different browsers support different JavaScript functions and properties (i.e. document.all), Aptana's code assist feature has little browser icons beside each option that tell whether a browser supports it or not. http://www.aptana.com/images/screenshots/screenshot_browser_support.png
Chris MacDonald
@Chris +1 Thanks for that info mate. I'm sure it will come in handy.
Russell Dias
A: 

Good question (+1) my thought is, is it really possible to have a good one? I mean, it would need to be really tightly integrated with the web-application.. Which means it would need a lot of investment (i.e. need to be an IDE from one of the "big dogs"!)

We get intellisense in 2008? :)

Rob Cooper
A: 

Visual Studio 2008 is supposed to do a lot better with javascript than in the past, but I haven't been able to try it yet myself.

Joel Coehoorn
+8  A: 

Visual Studio 2008 is excellent for developing Javascript. Intellisense works occassionally, but it's difficult because Javascript is a dynamically typed language.

The downside is that you can only debug with IE, but you get full fledged debugger functionality - breakpoints, watch windows, ability to modify variable values on the fly, etc.

For debugging in Firefox, I use a combination of Firebug and the Venkman debugger.

If you're just looking for a lightweight text editor, Notepad++ had syntax highlighting for most languages, including HTML and Javascript.

17 of 26
A: 

1+ for VS 2008

You may try VS 2008 Express edition which is free.

As others mentioned, Intellisense is hard in dynamic languages, but VS does a few nice tricks, and it also leverages library annotations to provide Intellisense on 3rd party libraries like jQuery or Dojo.

Highly recommended!

Martin Salias
+2  A: 

JavaScript Development Tools for Eclipse

http://wiki.eclipse.org/index.php/ATF/JSDT

IceHeat
It's definitely the most advanced tooling among the other solutions mentioned here, at some places on par with JDT's features.
thSoft
+3  A: 

I would also add Netbeans 6.1. Although it's primarily for Java it does have quite decent JavaScript syntax highlighting, code complete, etc. along with debugging in Firefox with Firebug.

Have a check of the features here

Evil Andy
A: 

If you're using Windows... Textpad isn't really an IDE for Javascript, though it does syntax highlighting, but I would highly recommend it, in combination with a debugger web-browser plug-in. Once you get used to using Textpad, all other GUI-based text editors will frustrate you.

username
A: 

Aptana has the best support for JS from the IDEs I've seen so far + it comes with every major JavaScript prepackaged.

Vasil
+15  A: 

IntelliJ IDEA has fantastic JavaScript support in my opinion. Steve Yegge calls it "the gold standard for JavaScript editing today". And a JavaScript debugger is coming in version 8.0.

Bas Leijdekkers
and there's a free license[1] for open source projects.[1]: http://www.jetbrains.com/idea/opensource/license.html
PanCrit
The best indeed.
Infinity
+3  A: 

Am I the only one who uses Eclipse + JSEclipse? I just finished a 40+ module front-end project and it worked like a charm :) I'm using Firefox 2 + Firebug, Firecookie, Web Developer Toolbar for debugging. I tried Aptana but it seemed a bit slow for me. I'll try JSDT and see what happens.

Danita
+1  A: 

Visual Studio 2008 has Intellisense support for JavaScript, and there is a method of adding your own files to define your own intellisense (code completion) support for any JavaScript APIs you need. It all works quite well.

Here's some info on getting jQuery Intellisense support working in VS'08: http://blogs.ipona.com/james/archive/2008/02/15/JQuery-IntelliSense-in-Visual-Studio-2008.aspx

Chris Pietschmann
A: 

Has anyone tried 1st JavaScript Editor Pro? It look promising as a JS IDE. http://yaldex.com/JSFactory_Pro.htm

A: 

I've used Microsoft Script Editor for a year and it's been a very satisfactory experience. The trick is finding it, buried as it is within MS Office. Instead of simply launching it when an runtime error occures in IE, I use it as a standalone javascript IDE. It has partial intellisense, but unfortunately isn't smart enough to provide intellisense for js classes that you create yourself. Debugging is great and has watch and quickwatch windows. Primarily I've used it for writing financial calculators, so the debugging has been a godsend when tracking down bugs. (Of course, if there's a FF-specific bug, I switch to Firebug).

I'm still always looking for a better javascript IDE, so I'm going to investigate the ones mentioned previously in this post.

Aaron
+2  A: 

Take a look at Wavemaker.com; very ambitious Ajax based IDE so its supports both ends. Then take a gander at what 128north people have under wraps ... and finally, if you can do some timetravelling - see what Borland had avaiable with its IntraBuilder IDE - JavasCript on both sides of the wire, client and server. Very, very nice but too far ahead of its time

JBsurveyer
+2  A: 

At JetBrains we've just developed lightweight web IDE WebStorm that includes very smart JavaScript Editor with DOM-based autocompletion and HTML5 API support.

Javascript Editor in fact is the same as in IntelliJ IDEA but the IDE itself is much easier and much cheaper too ;) Only features you need when you work with plain HTML/JS/CSS.

Alexey Korsun
A: 

geany on linux. it is amazing

negutron