When comparing NetBeans vs Visual Studio, the Slant community recommends Visual Studio for most people. In the question“What are the best development IDEs?” Visual Studio is ranked 2nd while NetBeans is ranked 5th. The most important reason people chose Visual Studio is:
If a project type or a platform is available for C#, it's available in Visual Studio. Some IDEs and code editors may cover some project types, but Microsoft always starts with VS. If you work with a cross-platform technology like ASP.NET MVC, it matters less. If you work with Windows-only technologies like UWP or WPF, you have no choice really.
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 Official IDE developed by Microsoft
If a project type or a platform is available for C#, it's available in Visual Studio. Some IDEs and code editors may cover some project types, but Microsoft always starts with VS. If you work with a cross-platform technology like ASP.NET MVC, it matters less. If you work with Windows-only technologies like UWP or WPF, you have no choice really.
Pro Free Community edition
Community edition is almost Pro edition, with just a few exceptions. Unlike old Express editions, it supports plugins.
Pro Amazing coverage over languages
Supports many types of C, and java, as well as ruby and python.
Pro Excellent and broad range of plugins
The plugin development ecosystem is very mature and covers a lot of use cases. For example, it is often easy to find a plugin which allows you to have the keybindings of your preferred editor.
Pro Partial cross-platform support
Visual Studio runs on Windows and macOS, so even if you develop on a Mac you can still develop with Visual Studio.
Pro It can run c#, c++, etc.
You can use too many programming lang. And you can select them! Like "I want to do this, not this".
Pro Cloud storage
Your Visual Studio Online account gives you a place to store your code, backlog, and other project data with no servers to deploy, configure, or manage.
Pro Supported by ReSharper and other plugins
Code productivity tools improve code editing experience greatly, provide static code analysis, refactorings, navigation etc. They are considered by many developers as essential.
Pro Fast-paced development iteration
Fast-paced development iteration from the Microsoft team, with new versions and fixes almost every week.
Pro Comes With the .NET Framework
Pro Product backlog
In agile development teams one really needs features such as product backlogs where you can assign features to team mates and track their progress on them. VS provides a web based interface for you to track your team's complete progress on the project.
Pro Fast
Pro Time travel in debugging
Pro Great UI for nugget packages
Pro Flexible to install/adjust payloads
Pro Same excellent Roslyn compiler/editor as VS for Code + powerful debugging tools
Pro Good support and community
Pro sda
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 Slow & Buggy (on Mac)
Visual Studio can get very slow on Mac... this is partly due to bad UI framework used - GTK. Also, quite buggy and too often have to Force Quit and restart.
Con Professional pricing is a bit steep
The professional edition's pricing is endearing since it costs more than IntelliJ, however, you wouldn't need that if you're not developing for a enterprise.
Con No Linux version
Con Mac version sub-par
The Mac version has the same great Roslyn editor as Win and VS for Code.
Con Too much storage eater for low-end PCs
For a particular task, you need to install workspaces. Workspaces mainly take up to 50 GB.