":" triggering code completion during parameter declaration Dennis Haupt Created July 25, 2011 19:48 can this be switched off? every time i types:String it becomes <random class that begins with s>:Stringsame for all other letters.
Which parameter declaration did you mention?
Do you mean position like this one:
Best regards,
Alexander Podkhalyuzin.
yes, that one becomes
val x:String => Boolean = (seqToCharSequence():String)
Ok, that's good idea, and now it's done for ':'.
However it's still fails in following case (but I don't know what I can do):
becomes
It's fixed for method calls, but I don't want to do it everywhere, and I'm not sure it's necessary.
Best regards,
Alexander Podkhalyuzin.
can't you detect that you are at a "declaration position"?
No, becuase it's everywhere;)
Also trying to do it according to expected type is also bad idea, because of completion performance (that's why we have basic and smart completion).
Best regards,
Alexander Podkhalyuzin.