andrybak
andrybak

Reputation: 2349

How to make IntelliJ IDEA open Gradle's own source code?

I'm working on a Gradle plugin. Sometimes I want to look at the source code or Javadocs of Gradle's own classes. I want to do it from IntelliJ IDEA, without having to open a separate application. That is, Ctrl+click or Ctrl+B on a Gradle method or class and have IntelliJ open the source code of Gradle itself.

I have tried everything from Attaching Gradle sources in IntelliJ IDEA :

I have also tried attaching sources manually by downloading Gradle source code from GitHub, but IntelliJ doesn't seem to be able to ingest it.

In addition to that, I have tried standard troubleshooting remedies of IntelliJ:

Yet, when I click on method project.getProperties() (as an example), IntelliJ IDEA opens decompiled Project.class instead of the source code file Project.java.

How to make IntelliJ IDEA open Gradle's own source code?

Upvotes: 4

Views: 791

Answers (1)

Andrey
Andrey

Reputation: 16381

Looks like you are facing this issue: IDEA-197970.

Upvotes: 2

Related Questions