Is there any way to gain access to the code from t...
# compose-desktop
s
Is there any way to gain access to the code from the common layer in the IDE? It’s very annoying that all I can really see is
/* = compiled code */
t
What do you mean with common layer? I do have access to source from compose components. Of which class or function do you want to see the source?
s
@spierce7 Click the
Download Sources
task when you open the class.
or you can configure the idea plugin to automatically download the sources for all artifacts.
Copy code
idea {
        module {
            // isDownloadJavadoc = true
            isDownloadSources = true
        }
}
a
Sources are downloaded by default. The problem is that idea seldom uses metadata file instead of source set for multiplatform. It is not a compose problem. There is an issue for it.
👍 1
s
I don’t have the option in Android Studio to download the sources when I CMD+B into something from the common layer. I think I have the sources when I CMD+B into something from a platform specific source set.
As you can see, it’s taking me to the metadata file, just like Alexander said. @altavir any chance you could link me the ticket?
a
Can't find it right now. But I remember that it was discussed...
@spierce7 I guess you can create a new one. It would be marked as duplicated if anybody manages to find it.