The best Javascript editor so far
I'm always looking out for better Javascript editors, and I now have a new favorite: JSEclipse. Check this out:
JSEditor appears to have an ESP layer that I've not worked out yet. This ESP layer enables it to give you completions that ought not to be possible.
Scarey
I have no idea how it can work out what the members of employee are since employee is an object that is dynamically generated by DWR, and the JavaScript file we are editing has no mention of even the path to the DWR server. (Maybe it's working it out by how employee is used? Either way it is fairly fancy)
Another example of it grokking Javascript much better than the Eclipse WTP Javascript editor is how it understands prototype.js. Sam doesn't hold back from exploiting Javascript features, and JSEclipse keeps up with him better than any other Javascript tool I've seen:
The outline right shows it correctly finding the things that prototype.js declares. The WTP editor makes a right mess of this.
Update: It appears to work based on usage - it remembers how an object is used and completes based on that.
Technorati tags: javascript eclipse
Re: The best Javascript editor so far
I don't remember the IDEA one doing completion, but it did do some refactoring (that I couldn't get working) plus the error highlighter was a bit overzealous. So I think the IDEA one had some nice features, but not ones that hit home properly. Maybe it was in beta when I was using it.
Re: The best Javascript editor so far
I just thougt that after the temptation described in you blog:
http://getahead.ltd.uk/blog/joe/2005/06.html
after IntelliJ went final, you made the switch :).
In this context, I thougt that if you(as the author of DWR) could mention about JSEclipse on the Jetbrains newsgroup, it would motivate them to imporove and to put more intelligence in their JS plug-in - since for Java it is the most intelligent IDE.
regards,
Jake.
Re: The best Javascript editor so far
Your words are kind and proves our efforts are spent in the right direction.
Did you know that will also complete elements IDs from the html files that includes the current js file when writing getElementById()?
Anyway, any suggestion that you may have to improve JSEclipse will be welcomed as we are constantly looking for opinions from experienced programmers.
Best regards,
Remus Stratulat