Multi-caret mode in IntelliJ Idea
Jan 8, 2019 · 1 minute read · Commentstools
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:
- 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
- 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.