Oh, you mean the vi 'open line' command.  This is the complement of the vi
'join line' command which has already become very popular within IDEA.

One of these days we'll get them to implement the whole vi command set!

:)

"Jens G�ring" wrote:

> This is a feature I saw years ago in an old DOS-Editor and liked a lot.
>
> Basicly, it is a shortcut for <end><return>, which comes in handy, if you
> are in the middle of a line and want to start a new one. The DOS-Editor used
> ctrl-return, which is already used in IDEA, but shift-return or alt-return
> are not in use yet.
>
> Here is an example, where this feature would come in handy:
>
> Type the following line:
> System.out.printl
> now hit ctrl-space, the line will be completed to:
> System.out.println();
> where the cursor will be between the brackets. Now type
> "hello world
> and the line will look like this:
> System.out.println("hello world");
> with the cursor behind the "d" of world.
>
> Now you'll probably like to start a new line, but return will split the
> current line. Best you can do is to hit <end> and than <return>. The
> proposed feature would insert a new line below and move the cursor there
> without splitting the line.
>
> Besides: Note that ctrl-space generated a ";" at the end of the line in the
> example above.
> Typing
> Integer.parseI
> and hitting ctrl-space generates
> Integer.parseInt()
> without a ";". Why is this? Because parseInt has a return value? Would make
> some sense. In this case, the proposed feature could add the ";"
> automatically ;-)
>
> -- Jens

_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features

Reply via email to