Closed jonathanlermitage closed 2 months ago
Currently, with beta6 sources were neither downloaded for stable releases (IC-2024.1.1) nor for EAPs (IC-242.15523.18-EAP-SNAPSHOT
). I've enabled Gradle: Download sources
in the advanced settings.
It's unclear to me if this is a bug or how I could control the download of sources. I very much would like to get sources for development...
IdeaVim has migrated to 2.0 and I can't figure out how to get sources to work either. I clicked "Download IntelliJ Platform sources", then I got this:
and clicking Yes did nothing. I reverted the commit to migrate to 2.0 in my IdeaVim fork, and sources got attached without any issues.
Sources download no longer work for me. When I click the button in order to download platform's sources, I see this message, I accept, but it does nothing:
IJ Ult 2024.1.4. Plugin 2.0.0-beta8, Gradle 8.8.
It worked last week with the same IDE, plugin, gradle, and targeted IDE version (2024.1.4 Community).
I cleared my gradle cache then reimported my projects, but it did not help.
I tis now fixed with IJPL-158473 and will be released in IntelliJ IDEA 2024.1.5 and 2024.2.
Docs are updated here: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin.html#attaching-sources
Describe the need of your request
Using plugin v2
According to https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-migration.html#intellijdownloadsources:
What does it mean exactly? Does it download IDE's sources automatically for stable IDE versions, and not for EAP builds? (this is what I'm trying to do). Plugin v1 offered us to control that. If we lose control when switching to v2, a more detailed documentation would be helpful. Users may not want to download IDE sources when targeting an EAP build, and when running in a CI. I guess this is the default behavior, but I'm not sure. Thx.
Proposed solution
Clarify documentation.
Alternatives you've considered
No response
Additional context
No response