Skip to content

IDE sources are not attached if you use IU for compilation starting with 2023.2 #1490

Closed
@Undin

Description

@Undin

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.

IU 2023.1 IC 2023.2 IU 2023.2
IU-2023 1 IC-2023 2 IU-2023 2

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions