":" triggering code completion during parameter declaration

can this be switched off? every time i type
s:String it becomes <random class that begins with s>:String

same for all other letters.

5 comments
Comment actions Permalink

Which parameter declaration did you mention?
Do you mean position like this one:

val x: String => Boolean = (s: )



Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

yes, that one becomes
val x:String => Boolean = (seqToCharSequence():String)

0
Comment actions Permalink

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):

val x: String => Int = s =>


becomes

val x: String => Int = seqToCharSequence _=>


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.
0
Comment actions Permalink

can't you detect that you are at a "declaration position"?

0
Comment actions Permalink

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.

0

Please sign in to leave a comment.