Aiming Netbeans code snippets

Posted by rwallace on Stack Overflow See other posts from Stack Overflow or by rwallace
Published on 2014-06-02T15:23:40Z Indexed on 2014/06/02 15:24 UTC
Read the original article Hit count: 277

Filed under:
|

Not quite sure whether I'm using the right terminology here, but Netbeans has a very nice feature where e.g. if you start typing for it will offer to write a code fragment looping over an array or list, basing it on the name and type of an array or list variable actually in scope.

If more than one such variable is in scope it will guess, sometimes correctly and sometimes not.

Is there a way to aim this feature at the correct array/list variable?

© Stack Overflow or respective owner

Related posts about java

Related posts about netbeans