Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Eclipse seems to be a program that consumes all available memory to turn its windows grey when you type into it. I'm not sure how you think it's suitable for Java programming.

(More seriously: Eclipse is not suited for text editing, but it is suited for dragging and dropping getters and setters. If that's what Java programming is to you, you can save a lot of time with Eclipse.)



> Eclipse seems to be a program that consumes all available memory to turn its windows grey when you type into it. I'm not sure how you think it's suitable for Java programming.

Considering that about half of the Java community uses it and is quite happy with it, did it occur to you that maybe, your experience with it was not representative?


Jrockaway works at Google, where their Java workspaces are roughly equal in total LOC to all Ruby in production everywhere.


That's about right. It's true that my experience with Java is not representative, but I'm still unclear what would happen if I did manage to get Eclipse working correctly. Emacs can organize imports, complete symbols, jump to definitions, and things like that. It can't refactor as intelligently as I imagine Eclipse can, but the one time I've needed to do a really big refactor I just did it manually with a Perl one-liner (I should have written a full script, in retrospect) and cleaned up the handful of mistakes when reviewing the diffs.

(That's generally how I feel about Eclipse. It will spend several hours analyzing your source code so it can do a perfect variable rename. But you can get 99.99% of the way there with "perl -pi -ne 's/int foo/int bar/g'" and fix the two cases it broke in seconds. I'd rather not write that and not do the fixup, but with so much cognitive load to make that automatic, it just isn't worth it. Why does refactoring Java require a complicated GUI application with more settings than the Space Shuttle?)

The one feature I really want is something that detects what problem I'm trying to solve and shows me the documentation for libraries that can help.

But really, I wish someone would write an article like "why I switched from vim to Eclipse", but I only ever see ones where the author does the opposite.


> But really, I wish someone would write an article like "why I switched from vim to Eclipse", but I only ever see ones where the author does the opposite.

You haven't looked very hard, most Eclipse users today came from emacs or vi. And are you seriously arguing that a search/replace is more effective than a refactoring performed automatically with guaranteed correctness?

You are being unreasonably and inexplicable biased against Eclipse (and IDE's in general), it's pretty baffling.


I think you're unreasonably interpreting this as an attack. Articles of the form "I switched to Vim/Emacs" show up reasonably regularly here and on programming related subreddits. I can't recall seeing a similar article touting the benefits of switching to Eclipse.

Similarly, a cursory google search of 'switched "from vim to eclipse"' doesn't reveal any articles of this form.

If you can point me to such an article, or write one, I'd be interested, but I think you have to agree that articles of the form IDE->vim/emacs are much more common than the reverse.


I'm not being biased against Eclipse, I'm just wondering if the productivity loss its crashing and lack of editing functionality inflict is less than the productivity gain from being 100% accurate at renaming variables.


Most people I know learned Eclipse/Visual Studio first.


Moving a method so it can be shared, and automatically updating the access modifier

Proportional font support for code and javadoc, to make better use of screen pixels.

Javadoc on mouse over

When debugging step by step, variable inspection on mouseover at source code point.

Most popular plugin features are well packaged for no hassle installation.

These are few of my favorite things that I can't do in emacs/vim...


I use Eclipse (now that I no longer have an IntelliJ license) for doing heavy-duty Java, but if I can get away with it, I prefer to do things in MacVim. Eclipse is just too clunky feeling when I want to do simple text editing tasks; it totally throws me out of my flow. That's why I'm on HN right now, as a matter of fact. So clearly, I am not an unbiased observer. That said: have you tried Pathogen/Vundle? Vim plugin management these days is light-years better than the equivalent Eclipse nightmare (I've given up on about half my Eclipse plugins as things constantly break).


Eclipse is bloated, granted, but if you think its strong point is "dragging and dropping getters and setters" then you haven't seriously tried it. I used to think IDEs didn't matter much for basic code editing, but had to change my opinion after using Eclipse and IntelliJ (my preference) for a while. Higher-level (as in -- with knowledge of the programming language) editing and refactoring can make a big difference to your editing experience. Tasks that were tedious become trivial and part of the normal flow. You actually find yourself writing code in a different way once you understand how easily you can manipulate blocks of code (rather than just blocks of text).


I've been stuck doing Java lately (grumble grumble). I love Vim, but occasionally, I just want an IDE to dull the Java boilerplate pain. I've been copy pasting sample snippets in to IntelliJ, auto-adding all the import statements, and then going back to do my main coding in Vim.

I have to close IntelliJ quickly, however, lest the Swing fonts BURN OUT MY RETNAS on my Linux box. How can anybody get any work done with font rendering that bad?!


Jetbrains are changing their platform to use native font rendering.

From their blog: "default look and feel on Linux changed from GTK+ to Alloy IDEA – it uses system fonts and has a much better overall quality (worth to try for current users too)"


I am unable to find that.

When will it be available?

Do you have a link?



You can get vi keybinding plugins for IntelliJ and Eclipse (and netbeans). They make it a little better.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: