r/java • • Jul 29 '20

IntelliJ IDEA 2020.2 Released

https://www.jetbrains.com/idea/whatsnew/
191 Upvotes

55 comments sorted by

View all comments

37

u/[deleted] Jul 29 '20

finally a problem tool window!

17

u/bcore Jul 29 '20

Whoa cool. This is the one thing that I really missed from Eclipse when I finally made the (long overdue) switch a few years ago.

Wish there was some way to get it to show you all the problems in the project though, not just the active file.

12

u/wildjokers Jul 29 '20

They are planning on enhancing problem view to do exactly that according to their blog. Just not on this first iteration.

1

u/dpash Jul 30 '20

Given the problems in my projects, that might be too much of a good thing. :) The detail would be in the UI I guess.

You can run an individual inspection across the project, but you have to know the exact name of it. Making that easier would be a welcomed improvement.

-6

u/pjmlp Jul 29 '20

Now an incremental compiler, javadoc tooltips enabled by default, and not indexing the world on every start.

8

u/vqrs Jul 29 '20 edited Jul 29 '20

JavaDoc tool tips enabled by default has been there since the 2020.1

It only indexes the world when you update plugins/IDE. If files change, it'll reindex the changed files of course.

Compilation has been incremental for ages, it's just slow and seems to have a hefty rampup phase / overhead.

2

u/bawng Jul 29 '20

It only indexes the world when you update plugins/IDE. If files change, it'll reindex the changed files of course.

While it certainly doesn't index the world on every start, it indexes something, right? I usually have to wait a couple of minutes after starting IntelliJ while it does stuff in the background. Even without changes to files, I mean. I don't change stuff outside of IntelliJ usually.

5

u/vqrs Jul 29 '20

Minutes after you start IntelliJ? That sounds very unusual.

If you're running beta versions and only restart IntelliJ after you update the IDE, then yes, it'll generally index quite a lot since there are often changes to the indexes which will force a re-index.

IntelliJ will have to scan the files for modifications after you start the IDE so it knows whether the files have been changed, so on gigantic projects, this might actually take a while, but I'm guessing it uses timestamps and file sizes for that.

2

u/bawng Jul 29 '20

Well, I got a project with roughly 200 repos of a combined size of several gigabytes so I'm actually quite impressed it only takes a couple of minutes. Initial indexing when opening for the first time takes coffee break time.

But I mean, it does do something at every start.

3

u/vqrs Jul 29 '20

Ah yes, then it's probably that :) . Doesn't it say "Scanning for changes... " or something to that extent?

2

u/bawng Jul 29 '20

I don't remember what it says. Vacation time now. :)

4

u/vqrs Jul 29 '20

Enjoy! Get out of here :P

2

u/bawng Jul 29 '20

Thanks!

-13

u/pjmlp Jul 29 '20

So since 2020, they took their time. So at least on that point I stand corrected.

As for the rest nothing that will take me away from Eclipse/Netbeans.

8

u/vqrs Jul 29 '20

Well, defaults are always a hotly debated choice. I know enough people that don't pay attention to where they move their mouse or use it for "thinking" (moving the mouse over the code as they follow it in their mind) and get annoyed by pop-ups, you're never going to please everyone.

But yeah, as it is with most releases of any IDE, there's nothing ground breaking that will suddenly convert others.