IntelliJ shortcut to select multiple whole lines

So, for example, if the cursor is in the middle of a line by pressing SHIFT , and the down arrow twice selects three whole lines, rather than the current cursor position at the same position as the two lines below.

+4
source share
3 answers

There is no such action at this time, feel free to send a feature request .

+2
source

Have you tried using Ctrl-W in IntelliJ. This is not exactly the same as what you describe, but it is a good alternative.

+3
source

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

Just make a selection that partially covers the lines that should be duplicated. Then call the Duplicate Lines command (or Ctrl + D).

0
source

Source: https://habr.com/ru/post/1382639/


All Articles