-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IDE sources are not attached if you use IU for compilation starting with 2023.2 #1490
Comments
Have you configured IDE as described here? https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#ide-configuration |
@YannCebron yes, I have. All things are checked in IU 2023.2.3 with Java 17 |
With 2023.3, it was moved to See: https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#attaching-sources |
@hsz do I understand correctly that you checked exactly this setup and it is not reproducible for you? |
Fixed with |
What happened?
Starting with 2023.2, if you use IU for compilation, development IDE doesn't show platform sources, only for LSP related code. As I can see, the source jar is just not attached for IU 2023.2. Probably it's because of attached lsp api sources.
It makes plugin development for IU much harder, especially taking into account that more and more code in the platform is written in Kotlin and IntelliJ IDEA doesn't show decompiled Kollin code for class files, so you neither can see implementation nor put breakpoint for debugging in Kotlin files
Relevant log output or stack trace
No response
Steps to reproduce
Open this repo in IDE and try navigating to any platform class, for example,
DynamicBundle
Gradle IntelliJ Plugin version
1.16.0
Gradle version
8.4
Operating System
macOS
Link to build, i.e. failing GitHub Action job
No response
The text was updated successfully, but these errors were encountered: