Type inferencing

I just saw this feature in #Develop 2:

? name = "soemthing"; --> string name = "something";

This is a cool feature, IMO, and very useful when you start to deal with
generics.
Is it possible to add it to R#?


1 comment
Comment actions Permalink

You can type "something" and this press Ctrl-Alt-V to "Introduce Variable"
and then type "name" and you get a similar effect...

I use "Introduce Variable" ALL the time. Just type what you expect to go on
the right-hand-side of an assignment, and then hit Ctrl-Alt-V, and it'll
even put the final semicolon on the line for you when its done. Very cool.

"Ayende Rahien" <Ayende@ayende.com> wrote in message
news:dju3ke$sge$1@is.intellij.net...
>I just saw this feature in #Develop 2:
>

? name = "soemthing"; --> string name = "something";

>

This is a cool feature, IMO, and very useful when you start to deal with
generics.
Is it possible to add it to R#?



0

Please sign in to leave a comment.