Easy way to split a line?
Is there a command to break a line into two parts? Basically the reverse of crtlshiftJ.
So if I start with:
String x = "Now is the time for all good men...";
and if I put my cursor between 'for' and 'all' and then hit a command and get:
String x = "Now is the time for" +
" all good men...";
Thanks
请先登录再写评论。
Have you tried hitting Enter? Enter will split it and move the cursor to, in
your example, just after the " on the second line. Hitting Ctrl+Enter
instead will leave the cursor at the " after the word for.
;ted
"Lance" <no_reply@jetbrains.com> wrote in message
news:2834491.1202332296265.JavaMail.itn@is.intellij.net...
>
>
>
>
>
Enter.
--Dave Griffith
Well that's easy - LOL Don't I feel like a fool. Here I was figuring it was some complicated key sequence with 4 modifiers ;) Thanks!
Well I can't seem to give Ted credit for the correct answer. I think it's because his post was via e-mail rather than the forum. But thanks to you both!