Code completion ordering
Is there anyway code completion can be configured to ignore a certain function? Or be smart and suggest items that you select from it often. I have found this to be particularly annoying with Kotlin. The extension functions seem to really bloat this. My example below is not an extension function but it is the case that I come across most often.

It always suggests the error function that takes a lambda. I have never used it and probably never will. It suggests it when sorted not alphabetically (above). When sorted alphabetically its in the middle and still suggests it (below).

In this case I really want it to suggest number five, or number one. Ok to be honest I just want it to insert the parenthesis and not the curly braces.
I can see how in most other cases where suggesting the lambda would be preferred, like if you were using a .forEach
I know I could make a live template, but coming from java its a hard habit to break of typing 'logger.e ' + enter and getting what I want.
Please sign in to leave a comment.
Please see https://www.jetbrains.com/help/idea/auto-completing-code.html#exclude .
Completion should learn from what you choose.
If it doesn't work and is specific to Kotlin, please report a bug at https://youtrack.jetbrains.com/issues/KT.
Thanks for the response. I took a look at the link, the only exclude stuff I noticed was for whole classes or packages, so I don't think that helps with this particular case but it is good to know.
I thought that the code completion was supposed to be smart and learn from what I chose. But I was questioning myself. So this might be a bug. I will checkout the KT issues and see if something is over there already.
Thanks.