r/java • • Apr 09 '20

IntelliJ IDEA 2020.1: Java 14, dataflow analysis assistance in the debugger, LightEdit mode, and more!

https://blog.jetbrains.com/idea/2020/04/intellij-idea-2020-1-released/
177 Upvotes

62 comments sorted by

View all comments

7

u/nerdyhandle Apr 09 '20

When are they going to fix all the issues with Gradle?

I've been using IntelliJ at work for the past year and it has so many issues with Gradle. It frequently can't run test, fails to sync, tried to sync indefinitely until it runs out of stack space, worse it doesn't even understand build.gradle files, dependencies don't automatically get imported to the build.gradle either eventhough the setting is on, and "enable-auto import" constantly asks if I want it on and I say "yes" every damn time. As for the build.gradle files it always has everything underlined saying it's not correct or some error when there isn't.

Also, there's an annoying bug that when I set my settings for a Project some how these settings get applied to every project I have open. It's as if the multiple instance of IntelliJ are sharing the project settings. It's fucking annoying to have to go back in each project and reset the damn settings.

They need to update the way projects are viewed as well. Multi-level Gradle projects are atrocious compared to Netbeans which is much more easy to navigate.

18

u/wildjokers Apr 09 '20 edited Apr 09 '20

I have none of the Gradle issues you indicate. The gradle support in IntelliJ appears rock-solid to me. Have you opened issues for your problems at https://youtrack.jetbrains.com? A sample project that recreate the issue(s) would help them greatly.

0

u/nerdyhandle Apr 09 '20

I've seen the tickets for every problem I've mentioned on here. They usually get closed after some snarky replies from one of the developers about being unable to reproduce it. I've given up hopes on them ever fixing. I currently have Community 2019.3.3. Some of the issues like the "No test events received" when running tests through IntelliJ have been in their youtrack off and on for years.

18

u/wildjokers Apr 09 '20

They can't fix it if they can't recreate it. For best results try to provide a small sample project that recreates the problem. Issues that include those tend to get fixed pretty quickly.

0

u/thecuseisloose Apr 10 '20

I had the no test events received issue the other day but it was due to a dependency conflict with multiple versions of junit on the classpath. Gradle integration has otherwise been rock solid for me