> > For example, the current "Introduce Field" is counter-intuitive to me > > personally. Any normal person I think will assume from the name that this > > means you can highlight an undefined variable or an expression and > > convert it to a field of the class. Not so. I still can't work out how > > that feature works.
> Yes, it actually works in this way. Just select an expression in code and > invoke "Introduce Field" to create a new field initialized by this > expression. Pretty similar to "Introduce Variable". Doesn't it work for you? I get it now, I worked it out. Before I was trying to do it on selections like this: [String myconst = "string";] ...thinking that it would take the var name and the type info from this. Of course it works if I just select the "string" part. Cheers _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
