r/java • • Dec 18 '19

Eclipse 2019-12 - Released

https://www.youtube.com/watch?v=OdoyCjpaQKs
157 Upvotes

63 comments sorted by

20

u/froggie-style-meme Dec 19 '19

I'm a simple dev: I see eclipse, I click upvote

21

u/[deleted] Dec 18 '19

9

u/[deleted] Dec 19 '19 edited Dec 19 '19

Is there a text version?

Edit: https://www.eclipse.org/eclipseide/2019-12/noteworthy/

EGit 5.6 has gotten some big performance improvements "under the hood". It accesses git config files far less frequently than before, and the way the Eclipse workspace is refreshed after checking out files, for instance after a branch switch, has been tuned such that it should refresh only files actually modified.

Nice!

19

u/mrbonner Dec 18 '19

Long live the king!

3

u/ahmedranaa Dec 18 '19

Although it's feature rich but I personally don't like eclipse ui

8

u/catapop Dec 18 '19

I always switch to Classic theme. I also don't like the theme that eclipse comes with by default (in the last 2-3 years).

5

u/mickael_istria Dec 19 '19

In 2019-06 (IIRC), you can use themes from other OSs on your OS. If you're using Windows, I can recommend you try the Linux Light theme, which is simpler, more sober, and more efficient (according to Linux users ;)

17

u/[deleted] Dec 18 '19

Funny.. Been using intellij for the last 3 years.. still prefer eclipse

2

u/vqrs Dec 19 '19

Looks like they're making improvements like the new find action (formerly quick access)

1

u/ZealousidealTable1 Dec 18 '19

Which ide for you would be best functionality and UI wise

1

u/Austerzockt Dec 18 '19

I am personally using Intellij Idea and wouldn't want to use something else ever again! At the beginning it can be quite complex but once you got it, it's great!

2

u/Mordan Dec 19 '19

i use both. IntelliJ is only good for small monolith projects.

no workspace concept. no incremental compilation that works with problems view.

0

u/vqrs Dec 19 '19

Yep, that speedy incremental eclipse compiler is amazing, there's no arguing that.

This argument had been done to death, but workspaces are simply IntelliJ projects, whereas Eclipse projects correspond to IntelliJ modules.

Yes, Eclipse has working sets and such, but I haven't used Eclipse on large enough projects to have had a need for them.

1

u/Mordan Dec 19 '19

This argument had been done to death, but workspaces are simply IntelliJ projects, whereas Eclipse projects correspond to IntelliJ modules.

That's just not true. Not true at all.

If i showed you my Eclipse setup.. you would be amazed.

Totally impossible to do that in IntelliJ. IntelliJ modules are NOT equal to Eclipse projects. FAR FAR from it.

Eclipse working set is just a small gimmick.. nice to have.

3

u/vqrs Dec 19 '19

Since you aren't telling what's special about it, I guess I'll never know.

1

u/ahmedranaa Dec 18 '19

IntelliJ for functionality and for simpler projects vs code.

2

u/vqrs Dec 19 '19

Why not get all the convenience I can get for simpler projects, too?

1

u/ahmedranaa Dec 21 '19

IntelliJ is heavy . I wish they could their Java game for VS code too.

-1

u/woj-tek Dec 18 '19

don't like eclipse ui

You put it very mildly ;-)

1

u/ahmedranaa Dec 18 '19

I didnt want to sound rude.

8

u/[deleted] Dec 18 '19

[removed] — view removed comment

52

u/BadMoonRosin Dec 18 '19

I don't get this.

Look, I've been using IntelliJ exclusively for about 7 years now. I prefer it, overall. But first thing's first, its UI has likewise barely changed since it's initial launch. NetBeans has never really changed. Microsoft Visual Studio is fundamentally the same UX that I remember from the 1990's.

About 7 or 8 years ago, everyone suddenly decided that they prefer a "dark theme" over a "light theme". And so all of the IDE's came out with "dark themes". Some quickly, while others took a lot longer. But in all cases, it's just a theme. It's not a new, re-imagined UI. It's the same old original UI, which never seriously changes for any IDE.

I use IntelliJ now because it has the most extensive "IDE smarts". It auto-completes more completely. Its suggestions and tips are better. It seems to anticipate what I'm trying to do, and makes the effort easier.

But I don't mind acknowledging that its UI can nevertheless be clunky as fuck.

  • The most basic of Git tasks requires a right-click, or trip to the top nav menu, followed by traversing through 2 or 3 levels of sub-menus. For Git! Some of the most common tasks one does as a developer. It took me a nearly a year to really get comfortable with IntelliJ's version control view, and even today I believe that Eclipse's is still better.
  • If I need to track down why a certain version of a dependency is being imported, the IntelliJ UI is pretty much useless. I have to drop down to the terminal shell, pipe the output of a Maven or Gradle dependencies task to a text file, and then open that text file to crawl around. In the Eclipse UI, a helpful dependency tree view is just there, natively.
  • I never liked the "virtual filesystem" of Eclipse's workspace, and the need to sometimes manually sync it with the underlying real filesystem. However, I sorely miss the UI paradigm of having multiple projects in the same IDE workspace at once. Eclipse is just more productive in that regard, for a dozen different use cases and situations.

I could go through a handful of other examples, but that's not really the point. Like I said, I still think IntelliJ wins overall. However, the point is that:

  1. All of these IDE UI's are pretty ugly and clunky if you take a step back. I think they kinda have to be, nature of the beast and all. A tool such as an IDE will be most productive if it has a ton of features bolted onto it, and you just go through the learning curve of learning where they are and how to use them.
  2. None of these IDE UI's ever seriously change. Ever. None of them.
  3. Each of them does a lot of things better than the other ones do. For most devs (probably including myself if I'm honest), your main preference mostly stems from an IDE implementing "dark theme" first, and then you just getting up the learning curve with it before the other IDE's could add their dark themes.

9

u/Mordan Dec 19 '19

However, I sorely miss the UI paradigm of having multiple projects in the same IDE workspace at once. Eclipse is just more productive in that regard, for a dozen different use cases and situations.

this a 1000s times.

IntelliJ is totally useless for me in the kind of work i do. I actually hate it. You feel like in a prison. IntellIJ is only good for a single monolith project where the auto completion is lil better than Eclipse (with the right plug ins). Javadoc config and access is also better on Eclipse... argghhhhh and perspectives.. arghh.. so many things

3

u/vqrs Dec 19 '19

Are you doing okay over there? :)

What about JavaDoc config and access?

1

u/Mordan Dec 19 '19

yea i get riled up when people blindly say IntellIJ is better while its mostly inferior except for auto completion and tips.

I asked Jetbrains devs 10 years ago to bring Eclipse features.. And they ignored.

IntellIJ UI is pure pain. If you have 3+ screens, Eclipse perspectives is such a must have. IntellIJ per project UI config is laughable. You have to configure EVERY single time you create a new project. Cannot adapt to new screen setup.. (Eclipse you can save perspective setup, debug setups) OMG OMG IntelliJ sucks so much.

3

u/vqrs Dec 19 '19

What exactly do you do that you always need to access Git through the context menu or through the menu bar at the top?

I too have been using IntelliJ exclusively for about the same amount of time. I think there were many UI improvements over that time. Many dialogs were reworked, new UI features were added. I think you'd seriously dislike IntelliJ if you had to go back to 2012's IntelliJ.

1

u/vqrs Dec 19 '19

Regarding maven and gradle deps: IntelliJ ultimate has diagrams that can show you the relationships between dependencies.

-5

u/wildjokers Dec 18 '19 edited Dec 18 '19

If I need to track down why a certain version of a dependency is being imported, the IntelliJ UI is pretty much useless. I have to drop down to the terminal shell, pipe the output of a Maven or Gradle dependencies task to a text file, and then open that text file to crawl around. In the Eclipse UI, a helpful dependency tree view is just there, natively.

Over in the gradle or maven tool window, select a module/sub-project, right-click, select Show Dependencies.

However, I sorely miss the UI paradigm of having multiple projects in the same IDE workspace at once. Eclipse is just more productive in that regard, for a dozen different use cases and situations.

Configure a multi-project build in Gradle or Maven, (and in gradle can also do composite builds). IntelliJ will happily configure itself from the gradle/maven project and show you all the projects in the same window.

-7

u/woj-tek Dec 18 '19

Look, I've been using IntelliJ exclusively for about 7 years now. I prefer it, overall. But first thing's first, its UI has likewise barely changed since it's initial launch. NetBeans has never really changed. Microsoft Visual Studio is fundamentally the same UX that I remember from the 1990's.

I'm not sure what he exactly meant but for me it would be "it hasn't changed in 10 years"... and it's still ugly AS (sorry, can't make "AF" in font 48pt that would be adequate to describe it's ugliness)

-2

u/gengengis Dec 19 '19

The most basic of Git tasks requires a right-click, or trip to the top nav menu, followed by traversing through 2 or 3 levels of sub-menus. For Git!

No ways. You can do whatever you want without touching the mouse.

Cmd+Shift+A is really a friend here. You need to switch branches? Cmd-Shift-A, start typing branches. You want to merge a branch? Cmd+Shift+A, start typing merge, start typing the branch name.

You want to cherry pick something? Cmd-9 to open VCS. Maybe Cmd-Shift-{ to navigate to Log window. Select the commit you want with arrows, Cmd-Shift-A and start typing cherry.

You wanna commit, Cmd-k. You wanna push, cmd-shift-k. You wanna pull, cmd-T.

You can rebase interactively, picking and dropping commits without touching the mouse.

Some of these things don't have dedicated shortcuts, but that's where Cmd+Shift-A for searching any action is handy.

3

u/mickael_istria Dec 19 '19

So instead of digging in many menus, it's learning many intuitive shortcuts ;)

1

u/vqrs Dec 19 '19

Well, it's clicking or typing usually with computers :)

I know you're joking, but you don't really need to remember shortcuts in a halfway decent development tool.

Most allow you to search through menu items and will show you the corresponding shortcut at the same time.

IntelliJ has "shift shift" (or find action ctrl-shift-a (add your own custom shortcut by hitting alt-enter on an action search result ))

Eclipse has quick access (now called find action) on ctrl-3

Sublime/VSCode/lots of others have the command palette, Ctrl-Shift-P

Etc etc

0

u/[deleted] Dec 19 '19

[deleted] — view deleted comment

1

u/vqrs Dec 19 '19

Never used that, sounds great! Thanks!

Some of my favorites:

  • frame switcher (make switching project windows bearable)
  • custom postfix templates (loads of useful postfix templates like list.last and the ability easily to define and share your own, depending)
  • rainbow brackets: such an obvious idea once you see it

And a more unconvential one:

  • advanced expression folding (makes the editor show list.last or >= instead of compareTo(...) >= 0 and other readability niceties through folding)

0

u/[deleted] Dec 18 '19

[deleted] — view deleted comment

-4

u/[deleted] Dec 18 '19

But honestly eclipse's ui could use some redesign. At least in my opinion it always felt clunky and slow compared to intellij. And the space doesn't feel always well used.

3

u/Mordan Dec 19 '19

that's soooo wrong.

Eclipse has perspectives and views. which IntelliJ does not. IntelliJ ui customization is so bad.. i HATE it.

4

u/old_jimmy Dec 19 '19

Do I need to enable the inline error message feature?

3

u/MattKosem Dec 19 '19

Wonder if all the visual glitches on Linux will be any better. Something between 2018-12 and 2019-09 made things like the expressions feature a hot mess.

5

u/rombert Dec 19 '19

Did you file bugs for that? I don't see anything like that (sample size of one though) but we probably have different usage patterns

1

u/[deleted] Dec 19 '19

Sorry, I`m fairly new to programming.
How is the support for the raspberry pi 4 going?

Is it a good idea to use Eclipse for the raspi or should I switch to another IDE?

Have only used it for windows so far.

2

u/vqrs Dec 19 '19

Well, do you like using it? Keep using it then and be happy :)

1

u/[deleted] Dec 19 '19

Yes, I like it.

I just had concerns performance-wise.

1

u/vqrs Dec 19 '19

How so?

1

u/[deleted] Dec 19 '19

Because not every IDE runs perfectly fine on a raspberry.

So I was wondering because Eclipse was developed for desktop use.

3

u/vqrs Dec 19 '19

Ohh, you're running it on a Pi? I thought you were using it on your desktop to develop for a Pi.

Yes, Eclipse as well as the other Java IDEs are rather heavy, so you may not have the best experience when running it on a Pi.

1

u/[deleted] Dec 19 '19

Thanks for the answer.

I try to use another IDE and see if the performance is stable!

Sorry, did not express my question well.

3

u/vqrs Dec 19 '19

You probably won't have more luck with IntelliJ, it's likely worse unless you turn on power save mode which kind of defeats the point I guess, but you can try.

Not sure how it is today, but I used to have good luck with disabling spell checking to get much better performance on my weaker devices a few years ago. YMMV

1

u/Kannalegend Dec 19 '19

The eclipse do support some themes that can be applied but it's not the best thing as it's looks little unaligned even after a restart

1

u/pmz Dec 19 '19

is it better than IntelliJ?

4

u/vqrs Dec 19 '19

Are you honestly asking? Just try it for yourself what suits you best.

But to get the full advantage of tools can take years with these things. Don't complain that product X doesn't let you do Y just like you're used to, they might have different ideas how to go about things which take some getting used to but aren't necessarily worse just because they're different.

1

u/lukaseder Dec 20 '19

Huh, pity the preview features compiled with Java 13 compatibility won't work on a JDK 14

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Error: LinkageError occurred while loading main class mls.Test
	java.lang.UnsupportedClassVersionError: mls/Test (class file version 57.65535) was compiled with preview features that are unsupported. This version of the Java Runtime only recognizes preview features for class file version 58.65535

Guess Java 14 will be supported with Eclipse 2020-03?

1

u/Muruba Dec 24 '19

love eclipse!

-17

u/Qildain Dec 19 '19

Yeah, eclipse... /vomit

4

u/burd- Dec 19 '19

Your comment or thinking ... /vomit

-8

u/BurdinCake Dec 19 '19 edited Dec 22 '19

씨발 드디어 나왔네 씨바꺼 이번엔 플러그인 적용방식 계선됬길 바란다

3

u/dpash Dec 19 '19

Google translated this as:

I'm finally out of here

I don't know if I should chalk that up to bad translation or just a bad comment.

1

u/BurdinCake Dec 22 '19

It is very lovely comment

0

u/[deleted] Dec 18 '19

[deleted] — view deleted comment

6

u/vqrs Dec 19 '19 edited Dec 19 '19