views:

312

answers:

6

I'm currently using Visual Studio 2008 to edit .js files with, and it has decent support but I want more...

I like the VS syntax highlighting and auto-indentation features but additionally would like advanced features like: contextual info and help, collapsible JavaScript blocks, implicit symbol understanding for searching, refactoring and that kind of thing; also warnings and errors for the js code.

Suggestions?

Edit: ooops... for the Windows platform. I see some Eclipse answers already and that's fine as I'll install Eclipse on Windows.

Purpose: I want the tool to be feature rich to aid my understanding of what's happening because JavaScript can get quite obtuse when jQuery is being used. Actually, it can be quite obtuse to understand regardless. Plus the additional (non-jQuery) branching for different browsers and tweaks. It can take a long time to wade through.

+2  A: 

Have you tried Aptana Studio?

Andy E
+2  A: 

Ever try Aptana?

http://www.aptana.org/

Kevin
Aptana is good, but slow :(
anticafe
+1  A: 

JetBrains is working on a promising Web/Javascript IDE called WebStorm. They currently have a public preview out:

http://www.jetbrains.com/webide/index.html

It has some interesting features:

  • Javascript refactoring
  • DOM-Based, Browser-Specific Completion
  • Code Navigation and Usages Search
  • Code Inspections and Quick-Fixes
  • JavaScript Debugger Based on Mozilla
  • Frameworks Support (jQuery, Prototype, ...)
Philippe Leybaert
Interesting indeed.
John K
Apparently not. Hence the coward downvote.
Philippe Leybaert
+1  A: 

ActiveState Komodo Edit works here too. See my answer just posted here.

Robusto
Indeed you are correct about the jQuery stuff. That just happens to be what I tried first.
John K
+3  A: 

I use Komodo Edit or Aptana

meouw
Komodo has a very nice interface but when I told it to reformat some complex jQuery it broke some of it by breaking lines where it shouldn't have. Only in a couple of cases but still Aptana handled the same script without problem.
John K
+1  A: 

My choice is NetBeanse (as IDE).

But more more often i prefer emacs

Falcon