A nice feature (well more on a par with Emacs and such than really nice) of XCode is that you can extends its code completion macros.
Please treat yourself to this plug-in which supplies the following two Java additions (more may be added as I find the need).
For each, that is a
forloop iterating through a collection, enumeration or array. Key: foreach.
Javadocs function header. A complete javadocs documentation block for a function, including hooks for arguments, return value and see also. Key: jdocs.
To install, select "Get info" on the XCode app in the Finder. Press the + sign below the plugins section and locate the Java extras.xctxtmacro file.
|Java extras XCode macro plugin||5.49 KB|