I have created a new project with the KMP project ...
# multiplatform
e
I have created a new project with the KMP project wizard, and it is able to navigate directly into string resources (
strings.xml
). While in my personal project, clicking on a string resource always navigates to the generated code in
String0.commonMain.kt
. Any ideas why is there a difference?
z
There are some pending bugfixes around this that should ship soon. Do you have a custom resource accessor name or a custom resource package set by any chance?
e
No, at least I don't think so
z
Anything interesting on your project structure perhaps, deeply nested modules or such?
Otherwise, please file an issue here: https://youtrack.jetbrains.com/newIssue?project=KMT It would especially help if you could share your project there (you can share the attachment only with JetBrains if that works for you)
e
Probably the only interesting bit about the project is that the strings are located in another KMP module, and exposed/consumed in other KMP modules. I also have default strings + one other language.
Copy code
compose {
    resources {
        publicResClass = true
    }
}
z
As far as I know all of those things are expected to work, so please indeed file an issue for the team to investigate further
e
I'll see if I can share the project, or at least a small reproducible sample
thank you color 2
z
Perfect, thanks, reproduced
🙏 1