jontyc
jontyc

Reputation: 3495

IntelliJ shortcut for selecting multiple whole lines

So, for example, if the cursor is in the middle of a line pressing SHIFT and the down arrow twice would select three entire lines rather than from the current cursor position to the same position 2 lines below.

Upvotes: 6

Views: 5603

Answers (3)

onelaview
onelaview

Reputation: 1131

If what you need is to duplicate (copy/paste) the whole multiple lines, then probably there is an alternative shortcut that I use.

Just make a selection that partially cover lines that need to be duplicate. Then invoke command 'Duplicate Lines' (or Ctrl+D).

Upvotes: 0

tylerS
tylerS

Reputation: 39

Have you tried the Ctrl-W featuer in IntelliJ. It's not exactly the same as what you describe, but it is an ok alternative.

Upvotes: 3

CrazyCoder
CrazyCoder

Reputation: 401877

There is no such action at the moment, feel free to submit a feature request.

Upvotes: 2

Related Questions