I'm curren开发者_运维问答tly 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.
I use Komodo Edit or Aptana
Ever try Aptana?
http://www.aptana.org/
ActiveState Komodo Edit works here too. See my answer just posted here.
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, ...)
My choice is NetBeanse (as IDE).
But more more often i prefer emacs
IntelliJ IDEA by jetbrains is pretty good for javascript: http://www.jetbrains.com/idea/features/ajax.html
精彩评论