Kotlin extension function doesnt show
已回答
I`m using lots of extension functions in my project, but after one of the latest updates they are no longer suggested by autocompletition, I need to write function name myself and only after that I can import it.
请先登录再写评论。
Can you please clarify what do you mean by one of the latest updates? What is the IDE version you using now? Do you have K2 mode enabled?
It would be great to have some example of the code where the issue is reproduced and a video of the issue. Can you please provide it?
Thank you in advance!
I have found that when extension is defined inside of Object, if I move it outside of object everything works.
A few updates ago extensions were suggested even when they were inside of object.
Can you please clarify what the IDE version you are using now? Do you have K2 mode enabled?
It would be great to have some example of the code where the issue is reproduced and a video of the issue. Can you please provide it?
Thank you in advance!