Kotlin extension function doesnt show

Answered

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.

0
3 comments
Hello Imbirspirit!

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!
0

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.

0
Hello Imbirspirit!
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!
0

Please sign in to leave a comment.