News for hackers. Stuff that matters.
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.