Is there a way to jump to after closing ')' after entering function parameters?

When writing a function call, the '(' and ')' parentheses are automatically
inserted, with the caret in the middle.
But when im finished with entering the parameters, I want to jump to the
position after the closing ')' ,usually to add a semicolon.
Is there any easy way to do this? Pressing 'right key' requires me to move
my hand. I can just enter the ')' manually, but then theres no point in
having it automatically added.

Why can't TAB do it? Just like in a LiveTemplate. Currently nothing happens
when I press TAB.
Example:
someObj.someFunct(12, "bob")]]>

Am I missing something? Can this be configured?
Thanks in Advance!!
/Andreas


3 comments

Ok, "CtrlShiftEnter" adds a final semicolon.. But I was looking for
something more general.
I want to jump over the ')' or ']' so I can continue writing.. maybe a ';'
or perhaps call a function.. like '.toString()'.
(I noticed that Eclipse actually supports this, with the TAB key)
Is there such a feauture in Idea today?

Best Regards
Andreas


"Tom" <noname@jetbrains.com> wrote in message
news:flu2sm$uat$1@is.intellij.net...

Press CtrlShiftEnter


"Andreas" <no_reply@noreply.com> wrote in message
news:flu0u6$m5c$1@is.intellij.net...

When writing a function call, the '(' and ')' parentheses are
automatically inserted, with the caret in the middle.
But when im finished with entering the parameters, I want to jump to the
position after the closing ')' ,usually to add a semicolon.
Is there any easy way to do this? Pressing 'right key' requires me to move
my hand. I can just enter the ')' manually, but then theres no point in
having it automatically added.

>

Why can't TAB do it? Just like in a LiveTemplate. Currently nothing
happens when I press TAB.
Example:
someObj.someFunct(12, "bob"<catet_pos>)<i_want_it_to_go_here>

>

Am I missing something? Can this be configured?
Thanks in Advance!!
/Andreas



0

Just type the closing delimeters (right-hand paren or bracket) and instead of your keystroke being entered, the insertion point will move past the exsiting delimiter.

RRS

0

Please sign in to leave a comment.