If I have a ```fun work(body: (String) -> Unit)...
# squarelibraries
d
If I have a
Copy code
fun work(body: (String) -> Unit)
then whenever I type
wor
, IntelliJ will auto-suggest only one completion option
work { ... }
and readily insert it. Does anyone know how can I (as the author of the library with
work
function) prevent it from doing this for library users? I want
work(...)
to be inserted instead. Usecase: I have a set of "body"-functions available in the library, so I want the user to write
work(predefinedBody)
. Currently they'd have to delete auto-inserted
{}
first, not great.