I’m really curious about <this>, what do you folks...
# compose
p
I’m really curious about this, what do you folks think? 🙏
p
manual here I had an annoying bug in the IDE due to using
by
, removing them solved it, and I got used to not using it. Besides that, it looks more explicit although you write more
p
Oh interesting, what's the bug? It used to not import the
getValue
and
setValue
, but that's been fixed now AFAIK.
p
I rename a file, then set the original name back. Anytime I open that file, AS pops a little warning on the top saying highlights are not enabled due to an internal error
Here
l
Me delegation for conciseness.
e
@Pablichjenkov did you file a bug report?
c
I'm not sure I understand the question. are you simply asking if you use
by
when declaring your state variables?
p
\@Eliezer, I posted the question in the AS and Intellij channel. Someone told me to invalidate caches, clean, remove .idea folders. Tried all, no one worked. Maybe it is just in my environment IDK. By the way there is a similar issue reported. In that report someone from JB said invalidate caches fixes it.it wasn't my case
e
You might get better info (or ack that it's a bug) if you file an issue at https://issuetracker.google.com. At the very least they should tell you where to redirect the issue if it isn't on their end
c
Do you have the original IntelliJ bug? If you can repro that consistently we should fix it and not look to invalidating cached as the fix
p
I sent some logs to the JB guy but it seems that the logs weren’t clear. Here is the conversation: https://kotlinlang.slack.com/archives/C0B8H786P/p1670435852343169
c
Hmm well it initially seems like the Kotlin tracker is the right place to file it. Though not clear if JetBrains is prioritizing a fix.
It seems though in that bug it was a KMM project. Is that the same with you?
p
In my case I am doing a KMM without iOS and using Android Studio, although the issue also happens with Intellij
I will take a look into the official issue tracker tomorrow and file an issue is there is nothing already there.
c
I see. IDE support can be flaky for KMM and JetBrains is actively doing work there so it’s best they handle fixing it until Studio more actively works on proper KMM support
p
Exactly, that is why did not stress too much on it
c
Yeah most if not all KMM “support” in Studio is via IntelliJ and/or the plugin
j
I had the same issue a couple days ago in a non KMM project. But can’t remember how I fixed it. Probably invalidate caches. Also not sure if it has anything to do with delegation.