When comparing NetBeans vs Eclipse, the Slant community recommends NetBeans for most people. In the question“What are the best IDEs for web development?” NetBeans is ranked 11th while Eclipse is ranked 16th. The most important reason people chose NetBeans is:
NetBeans is a free, GPL-licensed IDE. It can run on any computer with a Java virtual machine. If a computer has a Java virtual machine (JVM), Netbeans can run on it. Netbeans can, therefore, run on a variety of operating systems such as Windows, *nix, and Mac OS. Being open source means that developers can contribute changes to the code to have the IDE better serve them.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Free, open source, and cross-platform
NetBeans is a free, GPL-licensed IDE. It can run on any computer with a Java virtual machine. If a computer has a Java virtual machine (JVM), Netbeans can run on it. Netbeans can, therefore, run on a variety of operating systems such as Windows, *nix, and Mac OS. Being open source means that developers can contribute changes to the code to have the IDE better serve them.
Pro Multiple revision control system integration
Has built-in support for the most popular revision control systems
Pro FTP/SFTP synchronization
Supports synchronization with projects stored remotely through FTP or SFTP.
Pro Linux terminal inside IDE
You can run Linux terminal inside the IDE.
Pro Best for PHP, HTML5 Apps Developemt
Pro Frameworks support
Supports Symfony1, Symfony2,Yii2 & Zend frameworks.
Pro You can access source code history
There's a built-in local history that lets you compare code changes and revert to a specific revision. Helpful when source code file accidentally overwritten.
Pro PHPUnit support
PHPUnit is a testing framework. You can create test classes, run and see the code coverage directly from IDE interface.
Pro Git commits/local diff comparison is best
Git commits/local diff comparison is best
Pro Supports community plugins
NetBeans can be extended beyond the basic tool that you get out of the box through community made custom plugins.
Pro Accelerated HTML5 development support
Pro Less and Sass Compiler support
Pro Composer commands inside IDE
The most used composer commands can be done directly from IDE.
Pro Bower support
Pro Powerful debugging and performance optimization
Netbeans not only debugs your code, and points out errors but also gives you hints on which sections of your code could be further optimized.
Pro Supports Smarty
Supports Smarty Template Engine right out of the box.
Pro Refactoring is easy and very productive
Pro JMeter benchmarking tool support
Pro Supports Twig templates
NetBeans provides code completion and documentation for all Twig elements.
Pro ApiGen and PHPDoc support
Supports documentation generation through ApiGen and PHPDoc.
Pro PHPstan support
Supports static code analysis with phpstan
Pro ApiGen support
ApiGen allows automatically generating documentation from specifically formatted comments. It's easy to use, supports traits, allows fuzzy searching for classes and highlighting docblocks using Markdown.
Pro Free and open source
Eclipse is an open source project and free to use.
Pro Multiple languages - one IDE
Pro Large selection of plugins
Eclipse has a large and active community, which has resulted in a wide variety of plugins.
Pro Fast compiler
Eclipse uses a custom compiler (which can also be used outside of Eclipse), which is often faster than the normal Java Compiler, especially for incremental compilation.
Pro Easy to use and get started with
It's interface is super easy to use, after adding required package for your task everything just works.
Pro Gives good perspectives on your project
The concept of perspectives is outstanding. It puts right tools at your fingertips, keeping the tools you currently don't need out from the workbench. For example, in VCS perspective it's all about versions and branches. In debug perspective it's all about state.
In java ee project it can show http endpoints in a very accessible manner.
Pro Highly customizable
Thanks to the large variety of plugins and various configuration options, Eclipse is very customizable.
Pro Great debugger
Shows threads, concurrency locks, and conditional breakpoints.
Pro Good font rendering
Because Eclipse is based on SWT, it uses the native font rendering and thus looks better than other IDEs on some Linux systems, where the Java font rendering is not optimal.
Pro Good refactoring tools
Pro Faster than any other Java IDE
Fast, suitable for big projects, customizable, supports UML, many programming languages, plugins, and widgets vs NetBeans and JDeveloper. Support for Workspaces and Perspectives. Long term tested, free of charge, vs IntelliJ IDEA.
Pro Great in-UI documentation
Pro Dark theme improved!
Cons
Con Slows down occasionally
The Netbeans IDE is known to take a large memory as compared to other lighter IDE's available on the market. Slowdowns can decrease productivity and cause frustration.
Con Development has stalled dramatically
It went down from two releases a year with minor bug-fix releases to one release and no fixes. There seem to be fewer features added per release as well. There is no activity in the plugin community.
Con Default website code format is too strict
Sometimes you need to write allowed code that IDE hasn't spected, and it will annoy you filling all your code with suggestions.
Con Multilanguaje code completion fails
I example, sometimes code completion won't help you with html marks (or scripts) inside php echo (or print) sentences, and vice-versa.
Con Tries to do everything for you and gets it wrong too many times
Con Linux version lacks HDPI support
Con Branding & online website is super cluttered
There are lots of official home pages for this IDE, the packages, and the repos - hard to find correct one. Also, the main name in IDE: "Eclipse", is same as "Eclipse Foundation" which makes things more confusing.
Con UI can be confusing
There's an overly abundant presence of menus, this forces you to constantly click around the different menu structures; foreign ideas, like Views and Perspectives; strange menu choices, like configure settings located in Windows menu->Preferences.
Con Lack of plugins with good user interfaces
Many Eclipse plugins are extremely confusing, with UIs that are even less consistent than Eclipse itself.
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 Tends to be slow and lags a lot
Con Poor language support via plugins
Eclipse supports other languages with a huge amount of plugins. Many languages have their own distribution, but multi-language is hard to exist in one project. Like Scala, there is no official support from Eclipse for this language. If Eclipse gets an update, languages such as these will not.
Con Newer versions are getting less stable
Eclipse 4 Neon randomly hangs. For example, during installing new software.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=513218
Con Some old bugs don't get fixed
E.g. change a parameter name to the same as a field - the field will not be prefixed with "this." like in IDEA.