Multi-caret mode in IntelliJ Idea

After seeing it used very effectively in several screencasts I finally decided to learn the keyboard shortcuts to for multi-line/multi-caret selection and editing in IntelliJ Idea.

There are two ways how to go about it:

  1. Switch from line-selection mode to column-selection mode, by default Alt + Shift + Insert and then hold Shift and press an up/down arrow key to spread the caret to as many lines as you need, or
  2. Press Ctrl, release it, press Ctrl again and hold it and press an up/down arrow key again as much as you need

Personally, I like the first one even though it seems bit more cumbersome.

MacOS keys are obviously different. Details are in the official documentation.

We're looking for developers to help us save energy

If you're interested in what we do and you would like to help us save energy, drop us a line at jobs@enectiva.cz.

comments powered by Disqus