When comparing Eclipse with JSDT vs Coda 2, the Slant community recommends Coda 2 for most people. In the question“What are the best JavaScript IDEs or editors?” Coda 2 is ranked 30th while Eclipse with JSDT is ranked 34th. The most important reason people chose Coda 2 is:
Coda 2 comprises all you would expect from an IDE: it supports multiple languages (including all the standards); it performs autocomplete of project names, as well as language functions; it supports SVN and GIT; it has good support for plugins (or you can write your own); it has a configurable editor; and it has a built-in preview.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Provides quick fixes
Eclipse with JSDT provides you with quick fixes every time a warning or error is raised by the IDE. This feature is particularly helpful at places in code where errors were caused by the programmer just being a little "lazy", such as missing out the +
sign between two operands or a variable being out of scope.
Pro Smart Code completion
Just like all other IDEs, Eclipse offers you inline code completion (even with any external JS libraries added to the project).
Pro Free and cross-platform
Eclipse runs on Windows, Linux and Mac, and is totally free of cost.
Pro Code refactoring
Eclipse's refactoring features are quite similar to Webstorm's. It provides almost the same functionalities which include renaming, moving, and member extraction to make your code tidier
Pro Code auto-completion for brackets and parenthesis
This feature is particularly useful when you've added a lot of nesting in your code and you're unable to recall which opening bracket corresponds to which closing one.
Pro Large selection of plugins
Eclipse has a large and active community, which has resulted in a wide variety of plugins.
Pro Highly customizable
Thanks to the large variety of plugins and various configuration options available, Eclipse is very customizable.
Pro Seamless integration with web servers like Apache or Jetty
Eclipse lets you integrate web servers (like Apache or Jetty) into the IDE, which you could use for in-container testing or providing services.
Pro Good integration with git using eGit plugin
Pulling, pushing, staging, stashing, etc., are all available in Eclipse as IDE functionalities.
Pro Real IDE with all the benefits
Coda 2 comprises all you would expect from an IDE: it supports multiple languages (including all the standards); it performs autocomplete of project names, as well as language functions; it supports SVN and GIT; it has good support for plugins (or you can write your own); it has a configurable editor; and it has a built-in preview.
Cons
Con Uses a lot of memory
Eclipse hogs a lot of memory, although this can be controlled by the IDE start-up ini file.
Con Plugins can be unstable
Though there are plenty of plugins to choose from, they aren't always reliable. Some aren't maintained, bug fixes can be slow, and you may need to download plugins from multiple sources.
Con Support and problem solving is difficult to find
The Eclipse forums have more tumbleweed than users. Stack-overflow also has very little info.
Con Defective UI
There are several things in Coda that simply don't work, and never have. For instance, the root directory for your local and remote files is simply not honored. For every project, you can specify the root directory for its files. But when you open the project in Coda, it doesn't go there. The file browser just shows whatever the last directory was that you were using, and will write files to the wrong place. Thus, it defeats the purpose of setting the home directory in the first place.
Also, splitting the editor doesn't work. If you've done any programming, you know how important it is to be able to view two files simultaneously. Coda fails to do this, with a bizarre insistence on making the two panes dependent on each other.
Con Support for Mac and commercial use only
Coda 2 is only available on Mac (even though that does make it a native app, meaning its much faster). Coda 2 costs $99 after the 30 day free trial is up.
Con No XDebug
If you also write PHP, there's no XDebug support available.
