D

Duplicate Lines

JetBrains

e8fa1671-3b49-40d4-bafd-49433d7a01e7 · v—

This plugin lets you duplicate the entire selected lines, not just down (built-in action), but also up. In both cases, unlike the built-in action, it will preserve the original selection after the duplication. Supports single lines, multiple selected lines, multiple carets and block selection. Default shortcuts are "Shift + Ctrl + Alt + Up/Down" and "Shift + Command + Option + Up/Down" for

Editor
Open in store ↗ id: 10008
Downloads
11K
11 464
Rating
4.1 ★
8 ratings
Category
JetBrains Marketplace
Collected
2026-11-04
weekly snapshot

Rating distribution

4.1 ★ 8 ratings
5★ 100.0%

Reviews 7

★★★★★ Jon Powell 2024-08-30

How can anyone manage without it. Been using it so many years I keep forgetting it's a plugin.

★★★★★ mike-clark-8192 2024-08-05

This functionality should have been built into the IDE already, but it's not. So, thank you for providing this.

★★★★★ Hal Gumbert 2022-12-31

Been trying to easily duplicate selected code, but the built in features don't work well. This plugin is perfect. Thank you!

★★★★★ Matej Bystricky 2021-06-15

Why this is still not implemented by default in JetBrains IDEs is beyond me. Thank you sir for this amazing plugin!

★★★★★ Nawordar 2019-07-22

A must-have for people used to VS Code line duplicating behaviour

★★★★★ Almir Campos 2018-07-15

(I mean, "Thank you, Josep!")

★★★★★ Almir Campos 2018-07-15

Excellent! It even updates the 'Command_D' (MacOS) to duplicate the entire line down. Josep!

Similar in “Editor”