News for hackers. Stuff that matters.
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by sreque on Friday February 23, 2018 @04:58PM (#16449992)
This post makes me very sad. I am often reminded that the best tech rarely wins. I've never had to use Intellij until my current job, but it is more obvious to me than ever than Eclipse, at least for Java development, is superior to Intellij. Was the free model not enough to sustain it, unlike Intellij, which sells its IDE, or is there another major cause for most of the world drifting to the inferior choice?
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by Slackwise on Friday February 23, 2018 @05:25PM (#16450159)
> unlike Intellij, which sells its IDE

The fancy version costs money, yes, but the community edition is free and Apache licensed. Here's the source code: https://github.com/JetBrains/intellij-community

> is there another major cause for most of the world drifting to the inferior choice?

I've used both Eclipse and IntelliJ, as well as JetBrain's "ReSharper" tool in Visual Studio, and while the UI is obviously different, and in some ways better, some ways worse than Eclipse, the actual functionality and feature set of IntelliJ is clearly superior to Eclipse, especially all the refactoring and code smell tools.

The feature list is just incredible and constantly increasing: https://www.jetbrains.com/idea/whatsnew/

Also, IdeaVim is way superior to Eclim, if you care about Vim keybindings and modal editing.

Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by ryukafalz on Friday February 23, 2018 @06:11PM (#16450445)
Unfortunately, Google's fork (Android Studio) is not open source. Previous versions of Android Studio (based on Eclipse) were.

Clearest example I've seen in a long time of why copyleft licenses are important.

EDIT: I was wrong about this, see below thread.

Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by noarchy on Friday February 23, 2018 @06:48PM (#16450638)
You can find instructions on both getting the source code, and building from source here: http://tools.android.com/build
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by ryukafalz on Friday February 23, 2018 @07:37PM (#16450874)
Ah! I stand corrected. I wasn't able to find a link to that info anywhere from the download page (https://developer.android.com/studio/index.html).

I was also confused before when browsing through Google's Android repos because they don't seem to do any development on the master branch: https://android.googlesource.com/platform/tools/idea/+/maste... ...instead developing on project or release-specific branches: https://android.googlesource.com/platform/tools/idea/+/studi...

I have to say, I'm glad to have been wrong!

Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by richdougherty on Friday February 23, 2018 @05:47PM (#16450286)
I didn't know the free version was Apache licensed. That's great!
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by nambit on Friday February 23, 2018 @06:31PM (#16450548)
How is IdeaVim superior to Eclim? I can use my vim plugins with Eclim?
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by bdamm on Friday February 23, 2018 @05:03PM (#16450021)
How is Eclipse better than IntelliJ? My experience with IntelliJ has been: * Faster than eclipse. * Works better / crashes less. * Less headaches setting up projects. * Far superior vi keymap support.
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by badpun on Friday February 23, 2018 @05:35PM (#16450221)
I generally prefer IntelliJ to Eclipse, but what pains me in it is the slowness of the UI. When you open up a menu, you can literally watch as it is being painted to the screen. This is something that was instantenous on a 7 Mhz Amiga back in the nineties.
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by nickh9000 on Friday February 23, 2018 @08:13PM (#16451029)
Maybe it is time to upgrade from that machine.
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by badpun on Saturday February 24, 2018 @05:27AM (#16452639)
The machine is less than a year old...

I'm betting the menu content is dynamic (based on preferences, maybe the code that's on the screen etc.) and they're recomputing the content before drawing it - but still, it's no excuse.

Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by foepys on Friday February 23, 2018 @05:12PM (#16450074)
Most importantly plugins in eclipse never really worked for me. They often broke during updates, the package servers were slow or unavailable, or I had to wait weeks for plugin updates to update to a newer version of Eclipse.

IntelliJ has almost all important plugins and languages built-in. Even some quite nice frameworks.

Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by strictfp on Friday February 23, 2018 @06:00PM (#16450390)
I agree, but ironic considering that you are focusing on OSGIs main selling points :)
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by sreque on Friday February 23, 2018 @10:55PM (#16451562)
Sorry. I haven't had a chance to reply all day. The biggest reason I think Eclipse is better is because it has automatic incremental compilation built in. This feature is an absolute game changer in productivity. Visual Studio doesn't have it for C#. Intellij doesn't have it. As far as I know, Eclipse is the only Java IDE that does.

Think about it. As you are editing and saving, a real compiler is recompiling your code. Any and all errors show up as feedback in the IDE immediately. Intellij tries to guess errors for you, but I find that it often misses things until you run a build manually.

In conjunction with automatic incremental compilation is the problems window. I can't find anything remotely like it in Intellij. In a single window I can see all the errors and warnings in my workspace and address them. This is tremendously helpful, for instance, when I'm doing a complicated refactoring that can't be completely automated.

Another insanely awesome feature of this compiler is that it compiles class files with errors in them. This lets you do things like run your program even if there are compiler errors in your project, or, even more usefully, run a unit test. In Intellij I get so frustrated when I can't run a unit test because some entirely unrelated java file in an entirely separate module has a compiler error because I haven't refreshed my gradle project since pulling from git.

I really like seeing the warnings too. In every Intellij-driven project I've seen people do not care at all about warnings and the result is a lot sloppier code, including way more code that uses raw types, code that performs unchecked generic casts, code that makes mistakes with serialization, etc. In this sense Eclipse encourages better coding practices by putting the warnings your face in the problems tab.

I've had the opposite experience with plugins in Eclipse. I've found that there's way more plugins than in Intellij and that they work better. For instance, I completely gave up on Intellij's code coverage builtin plugin. It flat out wasn't working. On the other hand, the plugin I've tried in Eclipse works great. I've also found Eclipse's FindBugs and Checkstyle plugins to work way better for me.

I really dislike how Intellij handles debugging and spawning sub-processes. I remember at $lastjob when I still used Eclipse and I was helping an Intellij user try to debug something. I helped him figure out that he actually had about 5 sub-processes running in a debugger already and they were conflicting with each other. This kind of mistake I think is much harder to make in Eclipse. I also love the debug perspective and how it is separated from the regular perspective.

I could go on and on. I've found Eclipse to always be much snappier and more responsive than Intellij and to use less memory. I've found its code formatter to be more feature rich and useful. I like Eclipse's look and feel a lot better. Intellij uses Swing and it shows. But, at the end of the day, above all else, its the incremental compilation and everything that builds off of it. I have to use Intellij at my current job and I absolutely wish we could use Eclipse instead.

I find for instance that Intellij leaks memory and I frequently have to restart it once it gets to 8+ GB of usage. Also If I give it less than 6 GB of heap it runs insanely slowly.

Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by Rapzid on Saturday February 24, 2018 @05:30PM (#16455838)
C#s compiler is absolutely incremental. In fact, there is all kinds of crazy edit time compilation and JITing going on to support the languages extensibility and the edit and continue features.
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by sreque on Saturday February 24, 2018 @06:59PM (#16456242)
Rosyln might support incremental compilation, but, to my knowledge, it's not exposed in visual studio still in any meaningful way. See for instance https://stackoverflow.com/questions/34585588/is-c-sharp-comp....

Compilation in VS occurs at the project level. When you change a single file in the project, the entire project must be recompiled to generate the assembly. Eclipse on the other hand can recompile at the level of individual files, which is way faster, fast enough that it auto-compiles for you on save and the updates the editor with all errors and warnings discovered. No other IDE I am aware of can do this effectively.

Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by chapill on Friday February 23, 2018 @05:55PM (#16450348)
Eclipse git support is superior as well as the pom editor.
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by Lewton on Friday February 23, 2018 @09:07PM (#16451207)
Eclipses git support: right click on a file, show history, navigate between classes, notice eclipse hanging every time you switch between classes because it’s spending unreasonable amounts of time loading the git history while blocking the main thread every time with no caching whatsoever

Facepalm

I run into thousands of moronic things like that on an average work week

Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by fian on Friday February 23, 2018 @10:04PM (#16451392)
I use Eclipse with Subversion as the VCS. With Subversion you can disable to automatic History tab update on selection change (ie unlink from Editor). Can you not do the same with the Git functionality?
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by chapill on Saturday February 24, 2018 @10:35AM (#16453643)
Never had that problem. idea changesets: index no deltas on file or all deltas, but can't index 1 delta. All or nothing. Facepalm.
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by Tharkun on Friday February 23, 2018 @06:59PM (#16450690)
Really? I hate Eclipse git "support" with a passion. I don't want my IDE to go anywhere near my version control. I'll take care of that myself, thankyouverymuch. The fact that Eclipse makes it nearly impossible to disable that git "support" downright angers me.
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by chapill on Friday February 23, 2018 @08:02PM (#16450987)
Close the git perspective? Right-click project, team -> disconnect perhaps?

Honestly, I'm curious. It's never occurred to me that having it there, even if you don't use it, could be problematic. What is it touching that bothers you so much? It's not like it's going to jump in your folder and start committing stuff at random.

Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by zmmmmm on Friday February 23, 2018 @07:55PM (#16450954)
Impossible? You just go to the Team menu and choose "Disconnect" or am I missing something?
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by Tharkun on Saturday February 24, 2018 @06:26AM (#16452814)
Yes. That's incompatible with my workflow. Projects are generated on the fly, each new project is automatically connected even if I don't want it to be. Having to manually disconnect each project is a pain. I just want a big "disable this plugin" button.
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by s73v3r_ on Friday February 23, 2018 @05:58PM (#16450382)
But SourceTree is better than both.
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by chapill on Friday February 23, 2018 @06:07PM (#16450427)
Haven't used SourceTree. That may be true, but I prefer having all my tools in one place, and eGit is quite good. Besides, eGit has Eclipse Mylyn integration, which is another killer feature Idea doesn't have.
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by AnimalMuppet on Friday February 23, 2018 @05:11PM (#16450071)
And more/better keyboard shortcuts.
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by fma on Friday February 23, 2018 @05:23PM (#16450145)
Recently switched from Eclipse to IntelliJ. I've tried a few times in the past but I think I've reached the point of no return.

More keyboard shortcuts! = better. In eclipse I probably used 10...still hunting for the equivalent. Then there's the fact that some shortcuts require two hands, or a large hand. If you're focused on debugging and you need to step out... Shift F8?

Also the amount of times IntelliJ caches old files and screws up my testing is as much as eclipse... Which is probably my my biggest time waster. At least Intellij has the invalidate cache and restart... Which mostly works, till it doesn't, then I need to reimport.

Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by alyandon on Friday February 23, 2018 @05:16PM (#16450104)
I was a huge fan of Eclipse back in the day when I heavily used it for (mostly) Java development. However, for me it was death by a 1000 cuts. Workspaces getting into non-functional states that required wiping/rebuilding. Update sites constantly being moved to new URLs that required me manually making configuration changes just so the Eclipse update mechanism would work instead of spitting out cryptic error messages. Updates breaking the IDE to the point that I had to reinstall and start fresh and reconfigure everything from the ground up. Update checks causing every core on a Core i7-2600 to go to 100% cpu usage and remain that way for 30+ seconds.

When I switched to IntelliJ, I suffered from none of those problems and it did not take me long before I went and purchased a personal license.

Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by yodon on Friday February 23, 2018 @05:14PM (#16450088)
If most people are shifting from a free product to a paid product the chances are most of those people don’t consider the paid product to be inferior
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by nilsbunger on Friday February 23, 2018 @05:17PM (#16450111)
there's a free IntelliJ too
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by fma on Friday February 23, 2018 @05:25PM (#16450162)
My company paid for licenses, but I wouldn't pay for it personally. Same with JRebel.

So a better answer may be, they have been improving their sales team.

Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by Lewton on Friday February 23, 2018 @05:35PM (#16450222)
I’m baffled by how anyone could prefer eclipse to Intellij and got much glee from downvoting your opinion.

But I’ll retract my downvote if you add any reasons for why you think eclipse is superior?

Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by UncleEntity on Friday February 23, 2018 @06:36PM (#16450572)
> But I’ll retract my downvote if you add any reasons for why you think eclipse is superior?

Because downvoting isn't intended to stifle someone else's perfectly valid opinion maybe?

Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by Lewton on Friday February 23, 2018 @09:02PM (#16451189)
Downvoting is for posts that add nothing to the discussion? Which his post literally doesn’t unless he actually explains why he prefers eclipse
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by 2sk21 on Friday February 23, 2018 @06:00PM (#16450394)
I've happily been using Eclipse for years for Java development and have never used IntelliJ. I feel very productive in Eclipse and feel no urge to change.
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by hodgesrm on Friday February 23, 2018 @06:11PM (#16450449)
Same here. I don't see a big need to switch off Eclipse. It has all the features I need to be productive in Java.
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by sreque on Friday February 23, 2018 @11:15PM (#16451629)
I responded to someone else who asked the same question in this thread. Can I have an update now? :)
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by mindcrime on Friday February 23, 2018 @06:38PM (#16450582)
I tried intellij and thought it was pretty crap. I don't remember all the things I didn't like, but I found it almost completely unusable.
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by vkou on Friday February 23, 2018 @06:03PM (#16450407)
I can't count the amount of times I experienced an eclipse[1] in Eclipse.

IntelliJ is snappy, has a far better search function, makes better use of screen space, lets me keep working while it compiles, and has yet to corrupt one of my projects. I've used both, personally, and for work, for a couple of years. I will take IntelliJ every time.

[1] All the menus fading out, and becoming uninteractible, as it starts recompiling.

Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by guelo on Friday February 23, 2018 @05:49PM (#16450304)
I don't get it either, I've used Eclipse and IntelliJ for about 5 years each and there are a lot of things that I think Eclipse does better. But whenever I come across a thread like this one people are just aghast at the thought IntelliJ is not superior in all aspects. So there must be something to it but I'm not sure what to make of it.
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by strictfp on Friday February 23, 2018 @05:58PM (#16450374)
I find IntelliJ much better at navigation and refactoring.
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by unclebucknasty on Friday February 23, 2018 @05:27PM (#16450176)
Perspective is funny. Eclipse has always been a klunky, kludgey behemoth to me. Never enjoyed using it.
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by strictfp on Friday February 23, 2018 @05:55PM (#16450352)
Eclipse was awesome straight out of IBM, but IMO OSGI killed it of. OSGI is such a clunky framework to work with/around, I think it slowed down the devs enough to eventually make it outshined by others.
Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by s73v3r_ on Friday February 23, 2018 @05:58PM (#16450376)
" but it is more obvious to me than ever than Eclipse, at least for Java development, is superior to Intellij."

This is a pretty huge claim. Care to share your reasoning?

Re:Goodbye to Eclipse – the end of an era as an Eclipse plug... by megaman22 on Friday February 23, 2018 @05:49PM (#16450308)
For less than a dollar a day, access to the entire Jetbrains suite is a no-brainer.