Duplicate Lines
Sometimes you want to duplicate the current line or a selected block of code.
Press ⌘D (macOS) / Ctrl+D (Windows/Linux) in the editor to duplicate a selected block, or the current line when no block is selected.
Press ⌘D (macOS) / Ctrl+D (Windows/Linux) in the editor to duplicate a selected block, or the current line when no block is selected.