← All features

Multiple cursors

Add a caret at the next occurrence, above/below, on every occurrence or at every selected line's end, split a selection into lines, or Alt-drag a column/box selection to edit many places at once.

Five carets in a column of Java lines, the same word typed at each

Change ten places at once instead of making the same edit ten times. Put a caret everywhere the edit belongs, type once, and the edit lands at every caret; Esc collapses back to one.

Add carets

Shape the set

Edit at every caret

In the Emacs keymap the caret commands are in the palette. The VS Code, Sublime Text and IntelliJ IDEA keymaps bind them as those editors do, such as Ctrl+D for the next occurrence in VS Code and Sublime Text (Cmd+D on macOS); see the keybindings.

On by default. Turn it off in Settings → Editor. See the Editing guide.