If you use the TAB key you can change focus to:
- iterator var name
- member type (instead of Object)
- member name (instead of o)
And it will change all places in the template.
It is VERY COOL!

r.

> -----Original Message-----
> From: Vestal, Rick [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 26, 2001 10:21 AM
> To: '[EMAIL PROTECTED]'
> Subject: [Eap-features] feature request: expand search for class types
> in a container
> 
> 
> I have an ArrayList of items that I want to iterate over.  
> The 'itco' live
> template provides me with the iteration, but will apparently 
> only provide me
> with the object types it sees in the local file (Object o in the code
> fragment below).
> 
> ArrayList listeners = request.getListeners();
> for ( Iterator iterator = listeners.iterator(); 
> iterator.hasNext(); ) {
>       Object o = (Object) iterator.next();
> }
> 
> 
> Can Intellij be made to look deeper for what types are in the 
> container?
> 
> Thanks,
> 
> -- Rick
> 
> _______________________________________________
> Eap-features mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-features
> 

_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

Reply via email to