https://kotlinlang.org logo
#compose
Title
# compose
z

zoha131

10/02/2020, 9:37 AM
I am facing a weird issue. Whenever I
cmd + click
on any standard
Composable
it takes me to the class file instead of the kt file. e.g. When I
cmd + click
on
Image
it takes me to
ImageKT.class
file instead of
Image.kt
file. Anyone can help me with this?
👍 3
a

allan.conda

10/02/2020, 9:42 AM
broken for canary 13, can’t find the thread
z

zoha131

10/02/2020, 9:48 AM
ok, thanks for the info.
a

allan.conda

10/02/2020, 9:49 AM
I open an older version when it happens, then run the latest app again
works for some reason
eventually gave up and just stuck to Canary 8 for now so nothing breaks
z

zoha131

10/02/2020, 9:53 AM
It used to work for canary 12. after you reply I downgraded to 12 but for some reason it doesn’t work now. For now I am relying on the website. will check later.
s

Se7eN

10/02/2020, 10:05 AM
I need canary 13 to migrate to alpha04 😞
a

allan.conda

10/02/2020, 10:26 AM
ah, actually
it’s been since 12
s

Se7eN

10/02/2020, 10:26 AM
12 was working fine for me
a

allan.conda

10/02/2020, 10:27 AM
it works when you just came from old version
s

Se7eN

10/02/2020, 10:28 AM
Does it work with a non-canary version?
a

allan.conda

10/02/2020, 10:28 AM
idk
i used canary 8, or 10
s

Se7eN

10/02/2020, 10:29 AM
okay
j

Jorge Castillo

10/02/2020, 1:11 PM
Here it is
Having the same issue on my side
m

mattinger

10/02/2020, 1:21 PM
Same here. It’s really annoying because one project i created way back when on like canary 2 or something is working fine, but then i use the project i created on canary 12, i see class files and not sources. And with what i’m doing, i’m relying heavily on being able to see the source files so i can see default values for things (like how different objects are determining their background color, etc…)
j

Jorge Castillo

10/02/2020, 1:26 PM
inspecting sources is a hard requirement for almost any non trivial compose work atm
It's reported so I'm sure it'll get a fix soon. You can star it, in the meantime 🙂
b

Bsn Net

10/02/2020, 8:44 PM
In the mean time, where to view the sources directly? Thanks
e

efemoney

10/03/2020, 11:01 AM