updated.
Update code completion to include for functions and methods and to position the cursor appropiately.