When comparing NetBeans vs Code::Blocks, the Slant community recommends Code::Blocks for most people. In the question“What are the best IDEs for C++ on Linux?” Code::Blocks is ranked 6th while NetBeans is ranked 11th.
Ranked in these QuestionsQuestion Ranking
Pro Frameworks support
Supports Symfony1, Symfony2,Yii2 & Zend frameworks.
Pro Multiple revision control system integration
Has built-in support for the most popular revision control systems
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 Best for PHP, HTML5 Apps Developemt
Pro FTP/SFTP synchronization
Supports synchronization with projects stored remotely through FTP or SFTP.
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 Composer commands inside IDE
The most used composer commands can be done directly from IDE.
Pro Less and Sass Compiler support
Pro Bower support
Pro Linux terminal inside IDE
You can run Linux terminal inside the IDE.
Pro Supports Smarty
Supports Smarty Template Engine right out of the box.
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 JMeter benchmarking tool support
Pro Git commits/local diff comparison is best
Git commits/local diff comparison is best
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 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 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 Easy to use
Pro Simple Library import
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 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 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 Tries to do everything for you and gets it wrong too many times
Con Linux version lacks HDPI support
Con Not very feature rich
By default it's not much more than "What if Gedit had a compiler and a terminal built in?" (or: "What if Notepad had colour coding, auto indents, file structure, a compiler and a terminal built in?")
There are far more professional IDEs out there. This one is much too basic for any efficient use.
Con Slow navigation using mouse
In most IDE's, you can "goto declaration"/"implementation" by holding CTRL and left-clicking on an identifier or include directory. This does not work in Code::Blocks no matter what settings you have. Right-clicking will bring-up a menu that includes these "goto" options, but it's not instant and you'll be slowed down immensely depending on how often you have to do it.
Con Can get quite slow and doesn't look all that good
Con Setting up dark theme requires using system's own gui toolkit
Con Lots of functionality is encountered only in plugins
You can't change keyboard shortcuts, neither share themes with vanilla codeblocks, for example.