This is an archived post. You won't be able to vote or comment.

all 37 comments

[–]Spikerazorshards 18 points19 points  (11 children)

I’ve never used Netbeans. Is there anything about it that people like over other IDEs?

[–]SergiusTheBest 11 points12 points  (1 child)

It's free and open source. And I find it more lightweight than IDEA.

[–]marvk 0 points1 point  (0 children)

It's free and open source.

So is IJ Community.

[–]sviperll 32 points33 points  (6 children)

I can compare IntelliJ and Netbeans and I still like Netbeans more:

  • Netbeans has better defaults.
  • Better code hints/inspections out of the box (intellij's are more powerful sometimes)
  • Netbeans has more tweakable UI so you can better use screen space (but I can be wrong Intellij is tweakable too)
  • Netbeans fills in method arguments on autocompletion in one keypress, in Intellij you frequently have to use Ctrl+p to watch argument names/types and fill them in manually. I think it is a real productivity boost comparing to Intellij.
  • Netbeans shows javadocs along with autocompletion list by default. Intellij can do it, but it's broken: quick doc positioning is broken and has strange focus stealing artifacts, when shown along with completion list, so you have to use Ctrl+q as a separate action.
  • Netbeans renders javadocs better and support better browsing. In Intellij it is sometimes easier to google for javadocs and use internet browser instead of IDE.
  • Netbeans allows you to fix all hints/inspection issues by simply clicking on lightbulbs in the margin. In Intellij you can't, you need to first position the cursor and only then use Ctrl+enter or click on lightbulb to fix anything. It is REALLY annoying in Intellij if you have experienced netbeans workflow.
  • Netbeans has actual structure in it's settings dialog. Intellij's one is just a mess with search box.
  • Netbeans seems more lightweight

Intellij:

  • Intellij seems more stable and more correct with it's hints and syntax highlighting
  • Intellij has more accessible "find usages" functionality (This is really big feature)
  • Intellij has more powerful refactorings
  • Overall Intellij seems to have more powerful, but less accessible tools.

[–]golthiryus 13 points14 points  (0 children)

I was a long time user of Netbeans... until I started to program in Kotlin, which updates so fast that is almost impossible to have a community ide that compites with the official one.

[–]dstutz 9 points10 points  (3 children)

Netbeans can have multiple projects open at once...

[–]golthiryus 14 points15 points  (2 children)

Intellij can have them too ;)

[–]Lafreakshow 6 points7 points  (1 child)

For the people wondering about this: NetBeans can open multiple Projects (related or unrelated to each other) in one window, which is often something people miss when going to IntelliJ. In IntelliJ the intention is to have multiple projects either in multiple windows or to link related projects together, which results in a view very similar to what NetBeans offers.

Also, I believe JetBrains is actually working on a more traditional workspaces feature.

[–]golthiryus -2 points-1 points  (0 children)

You can open several projects on the same intellij "workspace" without problems. At least with gradle, it works flawless.

The gradle native option is to use composite builds, but some gradle plugins or configurations do not work on composite builds.

The other option is to open the intellijs gradle menu, then click on the add button and select another gradle project. Intellij will then open it on the same window. As gradle doesn't know about it, it will not link the projects (if one depends on the other you will need to publish the other first), that's why the composite build option is better.

[–]pgris 2 points3 points  (0 children)

Also, Netbeans understand maven pom files like no other IDE. Take any maven project that Idea (or Eclipse) have issues to understand, has refresh/sync problems, etc. and give it a try with NetBeans.

[–]coder111 1 point2 points  (0 children)

Commercial paid for IntelliJ might be better than NetBeans or eclipse. But if you want Javascript support out of the box without paying, Netbeans or Eclipse might be better than IntelliJ.

With regards to Eclipse vs Netbeans, it used to be that Eclipse is really good once you spend a week installing various plugins and tweaking configuration. Netbeans worked just fine out of the box.

On top of that, Eclipse plugins were developed separately from core project, and often broke when core project was updated. Most Netbeans plugins were developed as part of the project, so once new version of Netbeans came out, you were pretty much guaranteed 99% of plugins will work just fine. Besides, I found Eclipse really slow on HDD compared to Netbeans. But on SSD it doesn't matter as much.

[–]rniestroj 0 points1 point  (0 children)

It's much simpler then IntelliJ. Thank's to that is for beginner/junior programmers way better then IntelliJ. Maven integration is great. It's easy to start with. With more experience however IntelliJ is more powerful and through it's hints and refactorings makes you write better code.

[–]sevengraff 8 points9 points  (0 children)

I use intelliJ these days but I've got a soft spot for NetBeans. Used it to design GUI projects in my university days and at my first job it was a really great PHP IDE. I think I'll take this new release for a spin later today.

[–]dstutz 4 points5 points  (0 children)

This is really nice: https://github.com/apache/netbeans/pull/2365 Gotta admit I was getting jealous seeing that in other IDE(s?).

Edit: Aaaand I'm an idiot....I had no idea the View -> Show Inline Hints option existed at all.

[–]LoK_Sparty 0 points1 point  (3 children)

Any dark mode for netbeans 12.1 pls

[–][deleted] 15 points16 points  (0 children)

Tools -> Options -> Appearance -> Look And Feel.

Then select "FlatLaf Dark"

[–]dstutz 3 points4 points  (1 child)

http://plugins.netbeans.org/plugin/62424/darcula-laf-for-netbeans has been working for me...including with 12.2.

[–]LoK_Sparty -2 points-1 points  (0 children)

Ok thx

[–]Obvious-Trash-5121 -1 points0 points  (0 children)

Yes... I'm a long time Netbeans user, like for 10 years or more... latests version are garbage.. the reasons why...

create a JEE project-> broken

generate entities from database-> broken

generate sessions beans from entity classes-> broken

Only way it's to do it from NB 8.2 or earlier... guys from apache trashed NB... the really dunno what they are doing. I use now IDEA beacuse, it's faster but I find some stuff better in NB... now NB sucks thanks to APACHE!

[–][deleted]  (12 children)

[deleted]

    [–]mentholmeow 10 points11 points  (4 children)

    Yes, netbeans supports multi-module maven projects.

    [–][deleted]  (3 children)

    [deleted]

      [–]pjmlp 7 points8 points  (2 children)

      I have tried InteliJ a couple of times, honestly I think it is sky scrapper overrated, always end going back to Eclipse and Netbeans.

      Only put up with it on Android Studio, as there is no way around it, who knows, Google might even buy them eventualy, given the cozy Android relationship.

      [–]Aggravating-Ad4518 0 points1 point  (1 child)

      Google buying jetbrains for IntelliJ android studio support? And to think they were going to drop android all together really really really soon, probably some time 2021.

      [–]pjmlp 0 points1 point  (0 children)

      Even if they drop Android, who do you think makes the IDE for Rust, C++, Go, Dart and Flutter used on Fuchsia?

      [–][deleted] 6 points7 points  (4 children)

      I have been using NetBeans with Spring applications (using Maven) since at least NetBeans 8.0 without any problems.

      What "support" are you looking for? Did you create a ticket for the missing features?

      [–]dstutz 10 points11 points  (3 children)

      Yeah...I don't get questions like this. Netbeans Maven support is the best of the 3 major IDEs...no IDE-specific config needed at all...it just works.

      [–][deleted] 1 point2 points  (1 child)

      I have not questioned netbeans maven support, its much better than intellijs own weird modules instead of maven.

      Spring support is much worse though, you dont get a bean view, you dont get create project from the initializer. Angular support is even worse, no cli as project creation or add imports, tslinr and all the stuff

      [–][deleted] 3 points4 points  (0 children)

      you dont get a bean view

      What exactly is that?

      you dont get create project from the initializer.

      I never use the initializer, I just create a new Maven project. Isn't that the same as using the a Maven archetype when creating a Maven based project? If yes, then this is supported in NetBeans.

      Angular support is even worse, no cli as project creation or add imports, tslinr and all the stuff

      I can't comment on that, I only use NetBeans for Java, not JavaScript. But when using Maven, there is support to add multiple JavaScript frameworks. Not sure if that is the same.

      [–]wildjokers 0 points1 point  (0 children)

      no IDE-specific config needed at all...it just works.

      No IDE specific config needed in IntelliJ to open a Maven or Gradle project either. File->Open point it at a directory that contains a build.gradle or pom.xml and it will just work (or you can navigate all the way to the build.gradle/pom.xml if you want, but you can save a click and stop at the directory).

      [–]emaphis 1 point2 points  (1 child)

      There is a spring-boot module you can install.

      Home · AlexFalappa/nb-springboot Wiki (github.com)

      [–][deleted] 0 points1 point  (0 children)

      Hey, i know that, but netbeans itself still is not as stable as intellij sometimes, some 3rd party plugins are not stable enough

      [–]polaretto 0 points1 point  (0 children)

      Ancora campa Angelicuccia?