Java Editor feature

Let's say I've typed the following in Java editor:
public void addSomething(Something something_)

'_' marks the position of cursor.
Now I would like to be able to type { and press enter without having to manually navigate with cursor keys to the right and do it there.

Currently, this is what happens if I try to do this.
public void addSomething(Something something{

})

Eclipse's editor has this feature and It's always frustrating when i'm going back to IDEA from Eclipse.

Is there a plugin for this or could a support for this be added in IDEA editor?

3 comments
Comment actions Permalink

Try CTRL+SHIFT ENTER

0
Comment actions Permalink

Try CtrlShiftEnter

0
Comment actions Permalink

That's nice, thanks.

0

Please sign in to leave a comment.