JetBrains / intellij-platform-gradle-plugin

Gradle plugin for building plugins for IntelliJ-based IDEs
https://plugins.jetbrains.com/docs/intellij/gradle-prerequisites.html
Apache License 2.0
1.4k stars 270 forks source link

2.0 - Failed to download platform sources #1614

Open Undin opened 1 month ago

Undin commented 1 month ago

What happened?

When I try looking at the source code of some platform class (for example, AnAction), IDE doesn't show it by default (it seems it's expected). But if I invoke Download... from editor notification, it also fails to attach IDE sources

https://github.com/JetBrains/intellij-platform-gradle-plugin/assets/2539310/78a7f328-7e3a-4349-8036-da334d80890a

Relevant log output or stack trace

No response

Steps to reproduce

Gradle IntelliJ Plugin version

2.0.0-SNAPSHOT

Gradle version

8.7

Operating System

macOS

Link to build, i.e. failing GitHub Action job

No response

YannCebron commented 1 month ago

What IDE version are you using?

jonathanlermitage commented 3 weeks ago

@YannCebron I have the same issue. Using IJ Ultimate 2024.1.2.

jonathanlermitage commented 6 days ago

Same with IJ Ult. 2024.1.4 and plugin 2.0.0-beta7. It makes plugin development painful 😥

jonathanlermitage commented 6 days ago

Thx https://jetbrains-platform.slack.com/archives/C05C80200LS/p1719407595946569?thread_ts=1719328643.909549&cid=C05C80200LS, with 2024.1.4, after reloading Gradle project, I now see the "Download IntelliJ Platform sources" and, this time, it worked.

dowenliu-xyz commented 6 days ago

But for bundled community plugin (i.e. java), the source codes are still not attached.