views:

88

answers:

1

When using autocomplete to fill in method arguments, most of the time there should be a semicolon at the end.

It seems like there must be some keyboard shortcut to put in the semicolon (and maybe a newline) at the end but I can't find it!

Thanks.

edit: Maybe the question isn't clear, when finishing an autocomplete method the cursor looks like this:

someMethod(argument1, argument2 )
                               ^ cursor here

Maybe its just because I'm not used to the macbook keyboard, or because my muscle memory wants to use "end" rather than right-arrow or command right-arrow. But since the IDE is already helping me jump around the code with tab it would be nice to be able to return and have the semicolon get added, or at least move to the right of the close paren.

A: 

I would like to know as well. I still have to press the end button to insert the semicolon.

sprakkattak