intellij-platform-gradle-plugin
intellij-platform-gradle-plugin copied to clipboard
2.0 - Failed to download platform sources
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
- Clone https://github.com/Undin/intellij-platform-gradle-plugins-bugs/tree/master
- Open
AnAction
class and pressDownload...
option in editor notification
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
What IDE version are you using?
@YannCebron I have the same issue. Using IJ Ultimate 2024.1.2.
Same with IJ Ult. 2024.1.4 and plugin 2.0.0-beta7. It makes plugin development painful 😥
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.
But for bundled community plugin (i.e. java), the source codes are still not attached.
I tis now fixed with IJPL-158473 and will be released in IntelliJ IDEA 2024.1.5 and 2024.2.
It's still not working for BundledPlugins , .e.g. bundledPlugins("Git4Idea", "JavaScript", "Docker")
.
The Download Intellij Platform sources action appears, I still see the decompiled class file after I executed it.
However, downloading the sources for .e.g. com.intellij.execution.configurations.RunConfiguration worked fine.
I tried it with the IntelliJ 2024.2 as you can see:
Do I miss something?