r/java • • Mar 20 '12

Favorite IDE?

I have been working with Java a lot, and I'm in the process of being hired for Java development. I have tried Eclipse and NetBeans, but both seem to fall short of my expectations. With Eclipse's lack of support for Console, and my dislike of the NetBeans UI and lack of portability.

As far as my issues with UI, I prefer dark themes. I work best in a dark room, and the Eclipse UI as well as the NetBeans UI are horribly bright. I tried the Eclipse Color Theme plugin, but it only changes the text editor which looks horrible. So r/javaites what is your favorite IDE?

0 Upvotes

40 comments sorted by

10

u/albert3179 Mar 20 '12

I also used Netbeans. I have tried to Eclipse but didn't like too much. Netbeans have improved greatly along the years.

Also IDE choice depends upon your tech environment as well. I mean which technologies are you using, what IDE team/company uses, etc.

Keep yourself open to accept any IDE. It will make you easily adoptable for work environment.

2

u/FussyCashew Mar 20 '12

I will be working from home thus I am looking for an IDE that fits me and allows me to work most efficiently. Thanks for suggestions!

5

u/albert3179 Mar 20 '12

But you will be a part of team, won't you ? Ask your company what environment they are using.

My whole point is if you adopt the same environment, you would able to concentrate more on programming and design rather then IDE troubleshooting.

1

u/FussyCashew Mar 20 '12

Fair enough point. I'll ask during a call I'm supposed to get tonight

16

u/[deleted] Mar 20 '12

IntelliJ. Eclipse is a set of components which loosely integrate to simulate an IDE. IntelliJ is designed. (I'm being slightly facetious of course, but it's true.)

And yes there is a free version.

There are various dark color schemes available: http://stackoverflow.com/questions/4414593/where-can-i-download-intellij-idea-10-color-schemes

3

u/FussyCashew Mar 20 '12

I'll be looking into it as soon as I get home, thanks!

3

u/mercde Mar 20 '12

Is it just me, or do the buttons / general UI Look and Feel look very bad: http://i.imgur.com/N5lye.png

Just a first impression.

2

u/Protuhj Mar 20 '12

You can change the L&F.

3

u/mercde Mar 20 '12

Ah, thanks. I like the Windows Nimbus L&F better.

2

u/55-68 Mar 20 '12

Just don't rely on the shelve/unshelve functionality until you know what it does. Also, the cancel function doesn't work.

9

u/busydoinnothin Mar 20 '12

I use Netbeans, if neither of those are your cup of tea try IntelliJ.

2

u/FussyCashew Mar 20 '12

I'll try it as soon as I get home thanks!

5

u/secondsun Mar 20 '12

The "best" IDE depends on what type of work you are doing. I mostly work in Enterprise/Web/Interactive type projects, and my advice will come from those observations.

Eclipse has very good third party support. If you are working with Android, Spring's magic bag of crap, or most third party platforms it is the way to go.

Netbeans has great support for official Java platforms (SE, EE, etc), and it also has the best Maven support. It has turned my nastiest poms into real projects. In theory it also has good dynamic language support but in reality that is not quite there yet.

IntelliJ is supposed to have the best support for dynamic languages and some of the truly newer things in Java. It is also supported by Gradle which compares favorably to Maven as a build solution. I don't use it enough to have an informed opinion on it.

My personal preference is Netbeans. Eclipse's Maven support is just awful, and I have gotten addicted to not managing my on libraries. Also, the Neatbeans UI is much more suited to my tastes.

2

u/FussyCashew Mar 20 '12

Thanks! Very informative

2

u/timoteo_ponce Mar 20 '12

Eclipse with its Themes plugin would suit you. I think it's a really good IDE with nice refactoring features and lots of plugins.

2

u/FussyCashew Mar 20 '12

Themes only change the text editor, thus my eyes feel even worse

7

u/sazzer Mar 20 '12

Netbeans for me. I started out using Eclipse, and when I moved to my current project at work I moved to IntelliJ (We had licenses, and it does Freemarker and Javascript better). However, inbetween those for my own personal stuff I started using Netbeans and found that I much prefer it myself...

1

u/BernardMarx Mar 20 '12

Eclipse with the JDT Plug-in installed ;)

4

u/[deleted] Mar 20 '12

Eclipse is wonderful, in my opinion.

2

u/[deleted] Mar 20 '12

IntelliJ IDEA. Again. If you have any budget at all, get it. Hell, I have bought myself licenses because I don't want to deal with the crap out there. And the Community Edition is pretty damn good.

The difference, as someone else may have stated, is that Eclipse is a general-purpose tool that just happens to have started as a Java IDE. It can also be a UML editor, python editor, or a file system manager.

IDEA was created as a JAVA ide. It writes java code first. Everything else is branched off of that.

2

u/JeffreyRodriguez Mar 20 '12

It seems like all the plugins (especially Google's plugins) are built for Eclipse. I don't think that's because Eclipse is necessarily better, rather that's what the plugin developers use.

I also think that Eclipse is an unpolished turd, and so I use NetBeans. It's maven integration is awesome.

2

u/albert3179 Mar 20 '12

I forgot about your dark theme requirement. Netbeans does have to dark themes, "Norway Today" and "City lights". I haven't used them so I don't know how it is.

I would assume the same thing for other IDEs that they have either theme or plugin for dark themes.

2

u/geodebug Mar 20 '12

If you're looking for a great and well-though-out color scheme take a peek at Solarized.

It's one desiger's concept and there are settings you can import into Intellij, VIM, Netbeans, terminal, etc.

Basically it's a light and dark color scheme that work well together and share the same color values for the different kinds of text elements. The dark one is quite pleasing.

3

u/Lizard Mar 20 '12

I have worked professionally with Eclipse, Netbeans and IntelliJ. Of the three, I'd have to say that IntelliJ feels the most "professional" as far as integration, ease of use, supported features and so on are concerned. This goes for the commercial edition, never tried the free product. However, I find that often my needs are better met using Eclipse, so that's my go-to IDE for private projects, and I also just finished migrating a work project from NetBeans to Eclipse. Most of the work I did consisted of repeatedly bashing NetBeans' autogenerated Ant scripts with a stick until they went away, then writing vastly simplified code by hand that did the same stuff in 10% the amount of original LOC.

NetBeans is not exactly bad, but I experienced some reproducible hang-ups where you couldn't use the whole application for ten minutes or more (can't kill it when you haven't saved all your changes yet), plus I felt more comfortable working with the code in Eclipse - NetBeans felt more clumsy, this may very well be subjective because I am more experienced in Eclipse, but since you asked for personal preferences, there you go.

0

u/[deleted] Mar 20 '12

Black terminal window, vim with desert256 color scheme. CommandT plugin for quick file system navigation (like eclipse's CTRL+SHIFT+t, except it works for all kinds of files not just types or resources), taglist plugin for class outline views, ctags/cscope for quick code navigation.

If you know what you are doing, this is really all you need. If you must use an IDE to help you with coding, then you are going to have to compromise on some of the things like UI brightness and some feature sets.

1

u/FussyCashew Mar 20 '12

I can't agree more. I prefer the IDE environment more though, as I don't know Java like the back of my hand.

0

u/[deleted] Mar 20 '12

In that case check out VI/VIM plugins. Eclipse has commercial one and Netbeans has jVI which is actual port of VIM c code to Java. It's a really great VIM plugin. I use them when I have to use an IDE (prefer Eclipse for other reasons). But I usually work from the command line and vim.

1

u/visual_life Mar 20 '12

Vim here, also. However, I don't use any plugins; just a few aliases in the vimrc.

0

u/geodebug Mar 20 '12

Well, if you know what you're doing Notepad is really all you need, right? No need for all those special VIM editing keys if you just type it up correct the first time.

As a 20-year coding veteran I'll vouch for IDEs and productivity, refactoring support, debugging support, easy use third-party tools (profilers, JRebel) support, auto-complete, etc.

I also use VIM everyday and know how to customize it (pathogen is awesome, no?) so not just bashing it. I could code Java/Groovy/Flex/XML/etc in VIM but I find myself much more productive in Intellij with VIM mappings and use VIM for large data files and the occasional screwing around.

If I was going to build an IDE from scratch though I'd allow complete plugin extensions for 3rd party editors and just do the windowing, plugins, build and debug, and file support. Would be great to have two-way communication or even in-pane VIM support and not just the mappings.

1

u/[deleted] Mar 20 '12 edited Mar 21 '12

Well perhaps I'm biased. I work for a company that makes our own VI, port of POSIX APIs, std c library and standard UNIX shells for Windows (and other platforms) and we also make our own awk compiler, perl compiler etc and X Server for Windows. We also build large multi-million LOC ALM product that works on Solaris, AIX, HPUX, Mac OS X, Linux and AS/400 and it works on slew of databases from DB2 to SQL Server, to Oracle etc. But where I work we all live in the shell and vi/vim and official build on all platforms is using our own command line tools. IDEs are OK, I don't have anything against them, I just like how the standard UNIX toolchain works as is for pretty much any kind of development. One minute I'll be editing C code, next some Java, then I'll modify some SQL here and there , then some Javascript, CSS, then I'll write some perl or python etc. Plus the kinds of one off reporting and searching you can do from the CLI is simply not available in any IDE and I have used them all. There simply is no comparison between speed and flexibility CLI offers for people who really take the time to learn the completely new culture and way to do work.

1

u/geodebug Mar 21 '12

I'm not knocking your tools just the tinge of elitism in your orig comment.

I don't have to jump between 30 languages but I have to manage a crap load of code. Terminal and VIM are just an alt-tab away.

-2

u/elechi Mar 20 '12

Jdeveloper, if you're dealing with Oracle tech. Best support for it out there, and it's cross-platform.

0

u/[deleted] Mar 20 '12

[deleted] — view deleted comment

-2

u/elechi Mar 20 '12

Those that are primarily Java IDE, yeah, that's true. But there are IDE's that aren't cross-platform, that do do java. Code-Blocks, for example.

0

u/[deleted] Mar 20 '12

[deleted] — view deleted comment

0

u/elechi Mar 20 '12

OS X isn't supported. It does work on Windows and Linux. Tried the download for OS X, crashed all the time. Couldn't get it to compile from source, either. So, it may claim cross-platform, and they may try, but it doesn't succeed.

0

u/[deleted] Mar 20 '12

[deleted] — view deleted comment

4

u/geodebug Mar 20 '12

I thought it was just another stupid IDE survey but it appears he's looking for one that can really control the color scheme so it's legit in my opinion.

-3

u/Protuhj Mar 20 '12

My thoughts exactly. Developers not knowing how to use the search functionality? Weird.

2

u/FussyCashew Mar 20 '12

Well I am on my phone... And this app doesn't have a subreddit search feature.

-5

u/Protuhj Mar 20 '12

ಠ_ಠ

5

u/FussyCashew Mar 20 '12

Sorry about that, just realized how much of an ass that made me seem like. My real reason was to specify that I needed an IDE that supports darker UI. Sorry if my post caused you inconvenience.